Skip to content

Commit a10a3a9

Browse files
authored
Merge pull request #135 from tomeon/asset-file-copying-permissions
Avoid "permission denied" errors copying assets closes #133, closes #134
2 parents 548a471 + 1a2bd7f commit a10a3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/simplecov-html.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def initialize
2727
def format(result)
2828
unless @inline_assets
2929
Dir[File.join(@public_assets_dir, "*")].each do |path|
30-
FileUtils.cp_r(path, asset_output_path)
30+
FileUtils.cp_r(path, asset_output_path, remove_destination: true)
3131
end
3232
end
3333

0 commit comments

Comments
 (0)