From 061c3dd6c1121492a16784cb63c82e52f578d9c3 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Wed, 25 Jan 2017 22:46:05 +0530 Subject: [PATCH] typo --- lib/tasks/posts.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/posts.rake b/lib/tasks/posts.rake index f0fe7f646f6..b6a696f111d 100644 --- a/lib/tasks/posts.rake +++ b/lib/tasks/posts.rake @@ -158,7 +158,7 @@ task 'posts:delete_word', [:find] => [:environment] do |_,args| puts "ERROR: Expecting rake posts:delete_word['word-to-delete']" exit 1 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') end