Make haml --check work.
It wasn't properly requiring the stringio library.
This commit is contained in:
parent
c89f22d3a4
commit
2cde69578d
|
@ -145,6 +145,7 @@ END
|
|||
end
|
||||
|
||||
opts.on('-c', '--check', "Just check syntax, don't evaluate.") do
|
||||
require 'stringio'
|
||||
@options[:check_syntax] = true
|
||||
@options[:output] = StringIO.new
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue