We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0766ee2 commit ff69d3fCopy full SHA for ff69d3f
Rakefile
@@ -49,7 +49,7 @@ task :post do
49
slug = title.downcase.strip.gsub(' ', '-').gsub(/[^\w-]/, '')
50
begin
51
date = (ENV['date'] ? Time.parse(ENV['date']) : Time.now).strftime('%Y-%m-%d')
52
- rescue Exception => e
+ rescue => e
53
puts "Error - date format must be YYYY-MM-DD, please check you typed it correctly!"
54
exit -1
55
end
0 commit comments