lib/tasks/erb2haml.rake in haml-rails-0.9.0 vs lib/tasks/erb2haml.rake in haml-rails-1.0.0
- old
+ new
@@ -62,14 +62,14 @@
should_delete = STDIN.gets.chomp.downcase[0]
end until ['y', 'n'].include?(should_delete)
if should_delete == 'y'
puts "Deleting original .erb files."
- File.delete *erb_files
+ File.delete(*erb_files)
else
puts "Please remember to delete your .erb files once you have ensured they were translated correctly."
end
puts '-'*80
puts "Task complete!"
end
-end
\ No newline at end of file
+end