Skip to content
Browse files

Fix typo

  • Loading branch information...
1 parent 9a69c8e commit 6d97712a41efa1cc0a68751dc776dd8c063befdb @plusjade plusjade committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
2 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
- 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'

0 comments on commit 6d97712

Please sign in to comment.
Something went wrong with that request. Please try again.