removed "env=prod"-condition
This commit is contained in:
parent
52eb60e171
commit
64d5e3dfd3
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue