Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo

  • Loading branch information...
commit 6d97712a41efa1cc0a68751dc776dd8c063befdb 1 parent 9a69c8e
@plusjade plusjade authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Rakefile
View
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
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
Please sign in to comment.
Something went wrong with that request. Please try again.