Skip to content

Commit

Permalink
Align operands in condition
Browse files Browse the repository at this point in the history
  • Loading branch information
borama authored and EnomaDebby committed Apr 1, 2019
1 parent a9ecf3b commit da8f9c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/capistrano/data_migrate/migrate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
info '[deploy:migrate] Checking changes in db/migrate or db/data' if conditionally_migrate

if conditionally_migrate &&
test("diff -q #{release_path}/db/migrate #{current_path}/db/migrate") &&
test("diff -q #{release_path}/db/data #{current_path}/db/data")
test("diff -q #{release_path}/db/migrate #{current_path}/db/migrate") &&
test("diff -q #{release_path}/db/data #{current_path}/db/data")
info '[deploy:migrate] Skip `deploy:migrate` (nothing changed in db/migrate or db/data)'
else
info '[deploy:migrate] Run `rake db:migrate:with_data`'
Expand Down

0 comments on commit da8f9c4

Please sign in to comment.