fix: validate app name in app-scoped commands
This commit is contained in:
22 files changed
+213
-35
No files matched your search
@@ -10,7 +10,7 @@ cmd-domains-enable() {
|
||||
[[ "$1" == "$cmd" ]] && shift 1
|
||||
declare APP="$1"
|
||||
|
||||
[[ "$APP" == "--all" ]] && verify_app_name "$APP"
|
||||
[[ "$APP" == "--all" ]] || verify_app_name "$APP"
|
||||
fn-domains-enable "$APP"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user