From 9c30d10b974112b1f17870c5c4afdb17463b9577 Mon Sep 17 00:00:00 2001 From: Nick Brewer Date: Thu, 31 Jan 2019 18:18:24 -0600 Subject: [PATCH] Fix trailing comma lint issue. --- src/diff2html.js | 2 +- test/line-by-line-tests.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/diff2html.js b/src/diff2html.js index 6d7dba2..2da3271 100644 --- a/src/diff2html.js +++ b/src/diff2html.js @@ -20,7 +20,7 @@ matchWordsThreshold: 0.25, matchingMaxComparisons: 2500, maxLineLengthHighlight: 10000, - renderNothingWhenEmpty: false, + renderNothingWhenEmpty: false }; /* diff --git a/test/line-by-line-tests.js b/test/line-by-line-tests.js index 69b6dab..45fef7d 100644 --- a/test/line-by-line-tests.js +++ b/test/line-by-line-tests.js @@ -283,11 +283,11 @@ describe('LineByLinePrinter', function() { }); it('should return empty when option renderNothingWhenEmpty is true and file blocks not present', function() { var lineByLinePrinter = new LineByLinePrinter({ - renderNothingWhenEmpty: true, + renderNothingWhenEmpty: true }); var file = { - blocks: [], + blocks: [] }; var diffs = 'Random Html';