Loading python/django/migrations.yml +3 −2 Original line number Diff line number Diff line Loading @@ -14,7 +14,8 @@ python:django:migrations: script: - STATE="$(python manage.py makemigrations --dry-run)" - | if [ ! "$STATE" = "No changes detected" ]; then echo "[!] You have model changes for which no migrations have been created." if [ ! "${STATE}" = "No changes detected" ]; then echo "[!] You have model changes for which no migrations have been created:" echo "${STATE}" exit 1 fi Loading
python/django/migrations.yml +3 −2 Original line number Diff line number Diff line Loading @@ -14,7 +14,8 @@ python:django:migrations: script: - STATE="$(python manage.py makemigrations --dry-run)" - | if [ ! "$STATE" = "No changes detected" ]; then echo "[!] You have model changes for which no migrations have been created." if [ ! "${STATE}" = "No changes detected" ]; then echo "[!] You have model changes for which no migrations have been created:" echo "${STATE}" exit 1 fi