diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-14 14:23:28 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-14 14:23:28 +0200 |
commit | fa3c087a4cad7a62b2aec9df88d379c1822e0d0c (patch) | |
tree | 999fff8b60d4e9442238366696618c2faeca48e5 /lib/tasks/spinach.rake | |
parent | b5d81174fb12296ade36ec1f52546b8527bbdcf1 (diff) | |
download | gitlab-ce-fa3c087a4cad7a62b2aec9df88d379c1822e0d0c.tar.gz |
Clear rake task only if defined
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/tasks/spinach.rake')
-rw-r--r-- | lib/tasks/spinach.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/spinach.rake b/lib/tasks/spinach.rake index 60d4d6343b7..c23d0e0e188 100644 --- a/lib/tasks/spinach.rake +++ b/lib/tasks/spinach.rake @@ -1,4 +1,4 @@ -Rake::Task["spinach"].clear +Rake::Task["spinach"].clear if Rake::Task.task_defined?('spinach') desc "GITLAB | Run spinach" task :spinach do |