mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Fixed bug where "haml -v" crashes.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@393 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
562ae8c566
commit
9b977e960b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module Haml
|
|||
end
|
||||
|
||||
opts.on_tail("-v", "--version", "Print version") do
|
||||
puts("Haml " + File.read(File.dirname(__FILE__) + '/../VERSION'))
|
||||
puts("Haml " + File.read(File.dirname(__FILE__) + '/../../VERSION'))
|
||||
exit
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue