Fix literal arg for migrate

This commit is contained in:
2024-11-09 17:41:10 -06:00
parent ced662a7e8
commit 591635fa70

View File

@@ -10,7 +10,7 @@ fi
export ENVIRONMENT=${ENVIRONMENT:-development} export ENVIRONMENT=${ENVIRONMENT:-development}
export LOG_JSON_FORMAT=${LOG_JSON_FORMAT:-false} export LOG_JSON_FORMAT=${LOG_JSON_FORMAT:-false}
export LOG_LEVEL=${LOG_LEVEL:-debug} export LOG_LEVEL=${LOG_LEVEL:-debug}
COMMAND='poetry run python3 -m linkpulse $@' COMMAND="poetry run python3 -m linkpulse $@"
# If arguments start with 'poetry run pytest' or 'pytest' use args as is # If arguments start with 'poetry run pytest' or 'pytest' use args as is
if [[ "$1" == "poetry" && "$2" == "run" && "$3" == "pytest" ]]; then if [[ "$1" == "poetry" && "$2" == "run" && "$3" == "pytest" ]]; then