Skip to content

Commit

Permalink
Merge pull request #135 from tomeon/asset-file-copying-permissions
Browse files Browse the repository at this point in the history
Avoid "permission denied" errors copying assets

closes #133, closes #134
  • Loading branch information
amatsuda authored Sep 1, 2024
2 parents 548a471 + 1a2bd7f commit a10a3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simplecov-html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def initialize
def format(result)
unless @inline_assets
Dir[File.join(@public_assets_dir, "*")].each do |path|
FileUtils.cp_r(path, asset_output_path)
FileUtils.cp_r(path, asset_output_path, remove_destination: true)
end
end

Expand Down

0 comments on commit a10a3a9

Please sign in to comment.