diff options
| author | Shyam Sunder <sgsunder1@gmail.com> | 2020-09-01 14:06:22 -0400 |
|---|---|---|
| committer | Shyam Sunder <sgsunder1@gmail.com> | 2020-09-01 14:07:39 -0400 |
| commit | 0dd427755b601da8dadf9af1a34ecad03f8446f9 (patch) | |
| tree | 7f7e072132a834f1ac64e973a4ef1fd8d5a46a94 /doc | |
| parent | 67a5dd7c18758304d42716383eb9497a143142b9 (diff) | |
client+server: fix linter issues due to updated pre-commit hooks
Diffstat (limited to 'doc')
| -rwxr-xr-x | doc/developer-utils/create-alembic-migration.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/developer-utils/create-alembic-migration.sh b/doc/developer-utils/create-alembic-migration.sh index 1e884a3..df7a29e 100755 --- a/doc/developer-utils/create-alembic-migration.sh +++ b/doc/developer-utils/create-alembic-migration.sh @@ -14,15 +14,15 @@ CONTAINER=$(docker run -d ${IMAGE} tail -f /dev/null) # Create the migration script docker exec -i \ - -e PYTHONPATH='/opt/app' \ - -e POSTGRES_HOST='x' \ - -e POSTGRES_USER='x' \ - -e POSTGRES_PASSWORD='x' \ - ${CONTAINER} alembic revision -m "$1" + -e PYTHONPATH='/opt/app' \ + -e POSTGRES_HOST='x' \ + -e POSTGRES_USER='x' \ + -e POSTGRES_PASSWORD='x' \ + ${CONTAINER} alembic revision -m "$1" # Copy the file over from the container docker cp ${CONTAINER}:/opt/app/szurubooru/migrations/versions/ \ - "${WORKDIR}/szurubooru/migrations/" + "${WORKDIR}/szurubooru/migrations/" # Destroy the dummy container docker rm -f ${CONTAINER} > /dev/null |