mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] Don't print warnings in ConversionTest.
This commit is contained in:
parent
3a3b8234a2
commit
8ffb7ab73e
1 changed files with 6 additions and 2 deletions
|
@ -871,10 +871,14 @@ SASS
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_sass(scss, options = {})
|
def to_sass(scss, options = {})
|
||||||
Sass::Engine.new(scss, options).to_tree.to_sass(options)
|
Haml::Util.silence_haml_warnings do
|
||||||
|
Sass::Engine.new(scss, options).to_tree.to_sass(options)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_scss(sass, options = {})
|
def to_scss(sass, options = {})
|
||||||
Sass::Engine.new(sass, options).to_tree.to_scss(options)
|
Haml::Util.silence_haml_warnings do
|
||||||
|
Sass::Engine.new(sass, options).to_tree.to_scss(options)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue