Skip to content

Commit e575ef3

Browse files
authored
Fix script (#951)
1 parent fb59045 commit e575ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/docker-entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -e
22

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

0 commit comments

Comments
 (0)