fix breaking change in ruby; exists? -> exist?
This commit is contained in:
parent
257c54ee18
commit
009e2fa561
5 changed files with 12 additions and 12 deletions
|
|
@ -64,7 +64,7 @@ end
|
|||
|
||||
options = cmdline
|
||||
|
||||
if FileTest.exists?(options["-t"])
|
||||
if FileTest.exist?(options["-t"])
|
||||
puts "Target #{options["-t"]} already exists, not overwriting"
|
||||
exit 1
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue