lib/scss_beautifier/cli.rb in scss_beautifier-0.1.11 vs lib/scss_beautifier/cli.rb in scss_beautifier-0.1.12
- old
+ new
@@ -11,10 +11,10 @@
tree = engine.to_tree
config = Config.new(options[:config] || DEFAULT)
config.formatters.each do |formatter|
- formatter.visit(tree)
+ formatter.send(:visit, tree)
end
output = SCSSBeautifier::Convert.visit(tree, {indent: config.tab_style}, :scss)
if options[:in_place]
File.write(args.first, output)