Skip to content
代码片段 群组 项目
未验证 提交 1e7fa8d9 编辑于 作者: Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
浏览文件

Fix syntax error

上级 c9020ae5
No related branches found
No related tags found
无相关合并请求
...@@ -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
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册