diff options
author | Jade Dominguez <plusjade@gmail.com> | 2012-03-07 14:47:30 -0800 |
---|---|---|
committer | Jade Dominguez <plusjade@gmail.com> | 2012-03-07 14:47:30 -0800 |
commit | 6d97712a41efa1cc0a68751dc776dd8c063befdb (patch) | |
tree | 876ac55e0d12f694ef9241fc4c93b1c0b2557719 /Rakefile | |
parent | 9a69c8ed2470d8ff74736a45c8dbc42786ecbceb (diff) |
Fix typo
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |