chore: unify error output when an app is not declared

This commit is contained in:
Jose Diaz-Gonzalez committed 2017-03-12 21:26:19 -06:00
1 parent 7bbad9f074
commit 2bcad2014b
5 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -30,7 +30,7 @@ hello_main_cmd() {
set -- $cmd $@
##
[[ -z $2 ]] && echo "Please specify an app to run the command on" && exit 1
[[ -z $2 ]] && dokku_log_fail "Please specify an app to run the command on"
verify_app_name "$2"
local APP="$2";
@@ -58,7 +58,7 @@ hello_world_cmd() {
set -- $cmd $@
##
[[ -z $2 ]] && echo "Please specify an app to run the command on" && exit 1
[[ -z $2 ]] && dokku_log_fail "Please specify an app to run the command on"
verify_app_name "$2"
local APP="$2";