Commit 6683aa8b authored by Brett Walker's avatar Brett Walker

Fix uninitialized constant HamlLint::Linter

Running multiple `rake` commands with `spring', such as
`spring rake db:rollback` could cause a
`NameError: uninitialized constant HamlLint::Linter`
parent e409834f
......@@ -2,9 +2,9 @@
# frozen_string_literal: true
unless Rails.env.production?
require 'haml_lint/haml_visitor'
require 'haml_lint/linter'
require 'haml_lint/linter_registry'
require_dependency 'haml_lint/haml_visitor'
require_dependency 'haml_lint/linter'
require_dependency 'haml_lint/linter_registry'
module HamlLint
class Linter::InlineJavaScript < Linter
......
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