From a3f5878ec942592b4f76fbe048bb61f9458af4f0 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Fri, 18 Aug 2017 22:12:20 +0100 Subject: [PATCH] Use `if`, not `unless` --- lib/tasks/docker.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/docker.rake b/lib/tasks/docker.rake index f26d68372a5..b60e90d1f0b 100644 --- a/lib/tasks/docker.rake +++ b/lib/tasks/docker.rake @@ -46,7 +46,7 @@ task 'docker:lint' do success &&= run_or_fail("eslint --ext .es6 app/assets/javascripts test/javascripts plugins") unless ENV["SKIP_PLUGINS"] end - exit 1 unless success + exit 1 if !success end desc 'Run all tests (JS and code in a standalone environment)'