lib/subspace/commands/base.rb in subspace-3.0.11 vs lib/subspace/commands/base.rb in subspace-3.0.12

- old
+ new

@@ -57,10 +57,10 @@ FileUtils.cp File.join(template_dir, src), File.join(dest_dir, dest) say "Wrote #{dest}" end def confirm_overwrite(file_path) - return true unless File.exists? file_path + return true unless File.exist? file_path answer = ask "#{file_path} already exists. Reply 'y' to overwrite: [no] " return answer.downcase.start_with? "y" end def pass_through_params