Browse files

* Applies the suggestion from the IsItRuby1.9 page about swapping re…

…try and redo, also slight refactor to the script so the output is cleaner and less confusing
  • Loading branch information...
1 parent 1b633a8 commit 5a5195dd97f28ce199c90b95b8c0ca506b02710c @leehambley leehambley committed Aug 27, 2009
Showing with 0 additions and 2 deletions.
  1. +0 −2 bin/capify
View
2 bin/capify
@@ -66,8 +66,6 @@ files.each do |file, content|
warn "[skip] `#{file.downcase}' exists, which could conflict with `#{file}'"
elsif !File.exists?(File.dirname(file))
FileUtils.mkdir(File.dirname(file))
- retry
- warn "[skip] directory `#{File.dirname(file)}' did not exist, created."
else
puts "[add] writing `#{file}'"
File.open(file, "w") { |f| f.write(content) }

0 comments on commit 5a5195d

Please sign in to comment.