removed "env=prod"-condition

This commit is contained in:
surrim 2016-03-11 19:23:37 +01:00
parent 52eb60e171
commit 64d5e3dfd3
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ module Jekyll
FileUtils.mkdir_p(File.dirname(dest_path)) FileUtils.mkdir_p(File.dirname(dest_path))
FileUtils.rm(dest_path) if File.exist?(dest_path) FileUtils.rm(dest_path) if File.exist?(dest_path)
if @site.safe || Jekyll.env.start_with?("prod") if @site.safe
FileUtils.cp(path, dest_path) FileUtils.cp(path, dest_path)
else else
FileUtils.copy_entry(path, dest_path) FileUtils.copy_entry(path, dest_path)