verify we have an app when deploy is called. fixes #1309

This commit is contained in:
Michael Hobbs
2015-07-12 16:59:16 -07:00
parent 43b179735b
commit b0ca3aadb0

3
dokku
View File

@@ -66,7 +66,10 @@ case "$1" in
;;
deploy)
[[ -z $2 ]] && dokku_log_fail "Please specify an app to deploy"
APP="$2"; IMAGE="dokku/$APP"
verify_app_name "$APP"
pluginhook pre-deploy $APP
is_image_buildstep_based "$IMAGE" && DOKKU_BUILDSTEP=true