tasks/lint.rake in activeadmin-1.4.2 vs tasks/lint.rake in activeadmin-1.4.3
- old
+ new
@@ -76,11 +76,11 @@
desc "Checks markdown code style with Markdownlint"
task :mdl do
puts "Running mdl..."
- abort unless system("mdl", "--git-recurse", ".")
+ sh("mdl", "--git-recurse", ".")
end
desc "Check for unnecessary trailing whitespace across all repo files"
task :trailing_whitespace do
puts "Checking for unnecessary trailing whitespace..."
@@ -97,10 +97,10 @@
desc "RSpec specs for linting project files"
task :rspec do
puts "Linting project files..."
- abort unless system(
+ sh(
{ "COVERAGE" => "true" },
"rspec",
"spec/gemfiles_spec.lint.rb",
"spec/changelog_spec.lint.rb",
"spec/i18n_spec.lint.rb"