mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 11:15:43 +08:00
typo
This commit is contained in:
parent
89d7ddd803
commit
061c3dd6c1
@ -158,7 +158,7 @@ task 'posts:delete_word', [:find] => [:environment] do |_,args|
|
|||||||
puts "ERROR: Expecting rake posts:delete_word['word-to-delete']"
|
puts "ERROR: Expecting rake posts:delete_word['word-to-delete']"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
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')
|
exit 1 unless (confirm_replace == "" || confirm_replace.downcase == 'y')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user