This commit is contained in:
Arpit Jalan 2017-01-25 21:23:25 +05:30
parent 1c8d53125c
commit bc4f443fde
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ task 'posts:remap', [:find, :replace] => [:environment] do |_,args|
puts "ERROR: Expecting rake posts:remap[find,replace]"
exit 1
elsif !replace
confirm_replace = ask("Are you sure you want to remove all occurences of '#{find}'? (Y/n) ")
confirm_replace = ask("Are you sure you want to remove all occurrences of '#{find}'? (Y/n) ")
exit 1 unless (confirm_replace == "" || confirm_replace.downcase == 'y')
replace = ""
end