Remove double directory creation.

This commit is contained in:
Elia Schito 2011-01-27 13:13:12 +01:00
parent c70dac3cee
commit 034b06431e
1 changed files with 0 additions and 1 deletions

View File

@ -29,7 +29,6 @@ module Jekyll
'tags' => tags
}
File.mkdir("_posts") unless File.directory?("_posts")
File.open("_posts/#{name}", "w") do |f|
f.puts header.to_yaml
f.puts '---'