From bc4f443fdec4a70d8d3f74c03df3175ca7e46e0e Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Wed, 25 Jan 2017 21:23:25 +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 8eb22e5afae..f451161d68a 100644 --- a/lib/tasks/posts.rake +++ b/lib/tasks/posts.rake @@ -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