You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/11/04 07:36:31 UTC

[GitHub] [apisix-dashboard] zaunist commented on a change in pull request #2193: refactor: lint shell for shellcheck

zaunist commented on a change in pull request #2193:
URL: https://github.com/apache/apisix-dashboard/pull/2193#discussion_r742593181



##########
File path: api/run.sh
##########
@@ -17,8 +17,8 @@
 #
 
 export ENV=local
-pwd=`pwd`
+pwd=$(pwd)
 
-cd ./output
+cd ./output || exit

Review comment:
       If `cd` fails, the system will give the error message `No such file or directory exists`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org