Use if, not unless

This commit is contained in:
David Taylor 2017-08-18 22:12:20 +01:00
parent 7704e8246b
commit a3f5878ec9

View File

@ -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"] success &&= run_or_fail("eslint --ext .es6 app/assets/javascripts test/javascripts plugins") unless ENV["SKIP_PLUGINS"]
end end
exit 1 unless success exit 1 if !success
end end
desc 'Run all tests (JS and code in a standalone environment)' desc 'Run all tests (JS and code in a standalone environment)'