Skip to content
Snippets Groups Projects
Commit 142078ca authored by fauno's avatar fauno
Browse files

warning

parent 7f5a677e
Branches antifascista
No related tags found
1 merge request!1fallback to copy if files are in different devices
......@@ -22,6 +22,7 @@ module Jekyll
begin
FileUtils.ln(path, dest_path)
rescue Errno::EXDEV
Jekyll.logger.warn 'Jekyll::StaticFile', "Cross-device link found, copying to #{dest_path} instead"
copy_file(dest_path)
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment