Commit 1e7fa8d9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix syntax error

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent c9020ae5
...@@ -40,7 +40,6 @@ end ...@@ -40,7 +40,6 @@ end
def run_commands(cmds) def run_commands(cmds)
cmds.each do |cmd| cmds.each do |cmd|
system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) || system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) or raise("#{cmd} failed!")
raise "#{cmd} failed!"
end end
end end
...@@ -8,7 +8,6 @@ task :spinach do ...@@ -8,7 +8,6 @@ task :spinach do
] ]
cmds.each do |cmd| cmds.each do |cmd|
system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) || system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) or raise("#{cmd} failed!")
raise "#{cmd} failed!"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment