Commit a40aae9e authored by Zhan Lu's avatar Zhan Lu Committed by GitHub
Browse files

fix: correct framework validation logic (#595)

parent 6486dd53
...@@ -174,7 +174,7 @@ get_options() { ...@@ -174,7 +174,7 @@ get_options() {
if [ -n "$FRAMEWORK" ]; then if [ -n "$FRAMEWORK" ]; then
FRAMEWORK=${FRAMEWORK^^} FRAMEWORK=${FRAMEWORK^^}
if [[ -n "${FRAMEWORKS[$FRAMEWORK]}" ]]; then if [[ -z "${FRAMEWORKS[$FRAMEWORK]}" ]]; then
error 'ERROR: Unknown framework: ' "$FRAMEWORK" error 'ERROR: Unknown framework: ' "$FRAMEWORK"
fi fi
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment