BigW Consortium Gitlab

Commit d21e54c0 by Mike Greiling

simplify eslint rake task

parent e6529879
unless Rails.env.production?
desc "GitLab | Run ESLint"
task eslint: ['yarn:check'] do
sh "yarn run eslint" do |ok, res|
abort('rake eslint failed') unless ok
unless system('yarn run eslint')
abort('rake eslint failed')
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment