Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-27 09:12:03 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-27 09:12:03 +0400
commit1e7fa8d99b52d89571b8e9581746561d00c383d5 (patch)
treeb688f148b92e50724c0b0b59b4e0e215423837d0
parentc9020ae5866527f0642b00bea42b71ed0476d0e4 (diff)
Fix syntax error
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--lib/tasks/spec.rake3
-rw-r--r--lib/tasks/spinach.rake3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/tasks/spec.rake b/lib/tasks/spec.rake
index a7cd7483bed..bee22300298 100644
--- a/lib/tasks/spec.rake
+++ b/lib/tasks/spec.rake
@@ -40,7 +40,6 @@ end
def run_commands(cmds)
cmds.each do |cmd|
- system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) ||
- raise "#{cmd} failed!"
+ system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) or raise("#{cmd} failed!")
end
end
diff --git a/lib/tasks/spinach.rake b/lib/tasks/spinach.rake
index ebcce1e650c..dcc7d0fe01c 100644
--- a/lib/tasks/spinach.rake
+++ b/lib/tasks/spinach.rake
@@ -8,7 +8,6 @@ task :spinach do
]
cmds.each do |cmd|
- system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) ||
- raise "#{cmd} failed!"
+ system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) or raise("#{cmd} failed!")
end
end