From 6382ceb7dcdafc1d7345e342475b5e0c7f961f81 Mon Sep 17 00:00:00 2001 From: Will Bradley Date: Wed, 12 Mar 2014 15:57:20 -0700 Subject: [PATCH] Minor filename tweak --- lib/tasks/wordpress.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/wordpress.rake b/lib/tasks/wordpress.rake index 9b3d206..66b7ad7 100644 --- a/lib/tasks/wordpress.rake +++ b/lib/tasks/wordpress.rake @@ -77,7 +77,7 @@ namespace :wordpress do begin remote_file_io = open(remote_file) File.open(local_file,'wb'){ |f| f.write(remote_file_io.read) } - puts "Saved file: #{File.basename(local_file)}" + puts "Saved file: #{local_file}" rescue OpenURI::HTTPError => error puts "Error saving file #{remote_file}: #{error.message}" end