summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-03-21 21:03:32 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-03-21 21:03:32 +0800
commit5eb92882802afcc14c69e4621b2ac0ff73a22bea (patch)
tree38a2d13fe513a1bc87f10f7d1411eb8a676d3095
parent22fc4863d33ad68ab65cd74182741e9a7e6d316f (diff)
downloadgitlab-ce-5eb92882802afcc14c69e4621b2ac0ff73a22bea.tar.gz
It's now updated so we could remove it
Updated in: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17673
-rw-r--r--lib/tasks/haml-lint.rake9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/tasks/haml-lint.rake b/lib/tasks/haml-lint.rake
index 5c0cc4990fc..ad2d034b0b4 100644
--- a/lib/tasks/haml-lint.rake
+++ b/lib/tasks/haml-lint.rake
@@ -2,14 +2,5 @@ unless Rails.env.production?
require 'haml_lint/rake_task'
require 'haml_lint/inline_javascript'
- # Workaround for warnings from parser/current
- # TODO: Remove this after we update parser gem
- task :haml_lint do
- require 'parser'
- def Parser.warn(*args)
- puts(*args) # static-analysis ignores stdout if status is 0
- end
- end
-
HamlLint::RakeTask.new
end