summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorJade Dominguez <plusjade@gmail.com>2012-03-07 14:47:30 -0800
committerJade Dominguez <plusjade@gmail.com>2012-03-07 14:47:30 -0800
commit6d97712a41efa1cc0a68751dc776dd8c063befdb (patch)
tree876ac55e0d12f694ef9241fc4c93b1c0b2557719 /Rakefile
parent9a69c8ed2470d8ff74736a45c8dbc42786ecbceb (diff)
Fix typo
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 581b869..c14bd49 100644
--- a/Rakefile
+++ b/Rakefile
@@ -52,7 +52,7 @@ task :post do
puts "Error - date format must be YYYY-MM-DD, please check you typed it correctly!"
exit -1
end
- filename = File.join(CONFIG['posts'], "##{date}-#{slug}.#{CONFIG['post_ext']}")
+ filename = File.join(CONFIG['posts'], "#{date}-#{slug}.#{CONFIG['post_ext']}")
if File.exist?(filename)
abort("rake aborted!") if ask("#{filename} already exists. Do you want to overwrite?", ['y', 'n']) == 'n'
end