mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
Use if
, not unless
This commit is contained in:
parent
7704e8246b
commit
a3f5878ec9
@ -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)'
|
||||||
|
Loading…
Reference in New Issue
Block a user