mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Removed stupid check for output file in executables.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@344 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
184ede3c6f
commit
f83d64947b
1 changed files with 3 additions and 5 deletions
|
@ -66,11 +66,9 @@ module Haml
|
|||
exit 1
|
||||
end
|
||||
|
||||
[input, output].each do |file|
|
||||
if file.is_a?(String) && !File.exists?(file)
|
||||
puts "File #{file} doesn't exist!"
|
||||
exit 1
|
||||
end
|
||||
if input.is_a?(String) && !input.exists?(file)
|
||||
puts "File #{file} doesn't exist!"
|
||||
exit 1
|
||||
end
|
||||
|
||||
unless input.is_a? IO
|
||||
|
|
Loading…
Add table
Reference in a new issue