Skip to content

Commit

Permalink
Merge pull request fguillen#22 from k0kubun/binary-write
Browse files Browse the repository at this point in the history
Save output as binary
  • Loading branch information
tarhashi committed Jul 5, 2018
2 parents 4311cce + 1f3ad9d commit 2f306f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simplecov-rcov.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def format( result )
def write_file(template, output_filename, binding)
rcov_result = template.result( binding )

File.open( output_filename, "w" ) do |file_result|
File.open( output_filename, "wb" ) do |file_result|
file_result.write rcov_result
end
end
Expand Down

0 comments on commit 2f306f3

Please sign in to comment.