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:
parent
afc34dec6b
commit
8ad882aa2d
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue