We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45362b4 commit c176474Copy full SHA for c176474
lib/simplecov-html.rb
@@ -93,6 +93,7 @@ def assets_path(name)
93
94
def asset_inline(name)
95
path = File.join(@public_assets_dir, name)
96
+ # Equivalent to `Base64.strict_encode64(File.read(path))` but without depending on Base64
97
base64_content = [File.read(path)].pack("m0")
98
99
content_type = CONTENT_TYPES[File.extname(name)]
0 commit comments