1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Make haml --check work.

It wasn't properly requiring the stringio library.
This commit is contained in:
Nathan Weizenbaum 2008-04-17 17:24:50 -07:00
parent afc34dec6b
commit 8ad882aa2d

View file

@ -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