Skip to content

Commit

Permalink
Fix script (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
santib authored Jan 14, 2025
1 parent fb59045 commit e575ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/docker-entrypoint
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -e

# If running the rails server then create or migrate existing database
if ([ "${1}" == "./bin/rails" ] && [ "${2}" == "server" ]) || [ "${1}" == "./bin/dev" ] || [[ $@ == *"bundle exec puma"* ]]; then; then
if ([ "${1}" == "./bin/rails" ] && [ "${2}" == "server" ]) || [ "${1}" == "./bin/dev" ] || [[ $@ == *"bundle exec puma"* ]]; then
./bin/rails db:prepare
fi

Expand Down

0 comments on commit e575ef3

Please sign in to comment.