From dc62eda478958b3542fdc270811bd336b0a7c345 Mon Sep 17 00:00:00 2001 From: Robert Lail Date: Mon, 18 Mar 2013 19:23:10 -0500 Subject: [PATCH] get rid of trailing commas --- lib/simplecov-json.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/simplecov-json.rb b/lib/simplecov-json.rb index 68e700f..dd1e1f0 100644 --- a/lib/simplecov-json.rb +++ b/lib/simplecov-json.rb @@ -12,7 +12,7 @@ class SimpleCov::Formatter::JSONFormatter next unless result.filenames.include? filename data[:files] << { filename: filename, - coverage: coverage, + coverage: coverage } end data[:groups] = result.groups @@ -20,7 +20,7 @@ class SimpleCov::Formatter::JSONFormatter covered_percent: result.covered_percent, covered_strength: result.covered_strength, covered_lines: result.covered_lines, - total_lines: result.total_lines, + total_lines: result.total_lines } File.open(output_filepath, "w+") do |file|