fix haml linter declaration

This is necessary in order to boot delayed_job -_-
Without this, it attempts to inherit a missing class
This commit is contained in:
clemkeirua 2020-07-28 09:42:27 +02:00
parent 00e6ffe26c
commit 602d91f232

View file

@ -1,4 +1,5 @@
module HamlLint
if defined?(HamlLint)
module HamlLint
class Linter::ApplicationNameLinter < Linter
include LinterRegistry
@ -43,4 +44,5 @@ module HamlLint
document.source_lines[node.line - 1]
end
end
end
end