mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Don't fully qualify method name since we already import Haml::Utils
This commit is contained in:
parent
1ed9f043d2
commit
4993e90eda
1 changed files with 2 additions and 2 deletions
|
@ -168,8 +168,8 @@ module Haml
|
||||||
return @template_tabs + 1 if flat? && line.whitespace =~ /^#{@flat_spaces}/
|
return @template_tabs + 1 if flat? && line.whitespace =~ /^#{@flat_spaces}/
|
||||||
|
|
||||||
message = Error.message(:inconsistent_indentation,
|
message = Error.message(:inconsistent_indentation,
|
||||||
Haml::Util.human_indentation(line.whitespace),
|
human_indentation(line.whitespace),
|
||||||
Haml::Util.human_indentation(@indentation)
|
human_indentation(@indentation)
|
||||||
)
|
)
|
||||||
raise SyntaxError.new(message, line.index)
|
raise SyntaxError.new(message, line.index)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue