lib/coverband/adapters/file_store.rb in coverband-4.2.7 vs lib/coverband/adapters/file_store.rb in coverband-5.0.0.rc.3

- old
+ new

@@ -3,11 +3,11 @@ module Coverband module Adapters ### # FilesStore store a merged coverage file to local disk # Generally this is for testing and development - # Not recommended for production deployment + # Not recommended for production deployment, as it doesn't handle concurrency ### class FileStore < Base def initialize(path, _opts = {}) super() @path = path @@ -37,10 +37,10 @@ end def save_report(report) data = report.dup data = merge_reports(data, coverage) - File.open(path, 'w') { |f| f.write(data.to_json) } + File.open(path, "w") { |f| f.write(data.to_json) } end def raw_store raise NotImplementedError, "FileStore doesn't support raw_store" end