feat: add verify_app_name calls to all shell subcommands
Without this, folks could potentially run commands against invalid applications.
This commit is contained in:
@@ -10,7 +10,6 @@ cmd-docker-options-clear() {
|
||||
[[ "$1" == "$cmd" ]] && shift 1
|
||||
declare APP="$1" PHASES="$2"
|
||||
|
||||
[[ -z "$APP" ]] && dokku_log_fail "Please specify an app to run the command on"
|
||||
verify_app_name "$APP"
|
||||
|
||||
if [[ -z "$PHASES" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user