From 6f85bdde1a50c1deaa8948a94978d29099b09bc0 Mon Sep 17 00:00:00 2001 From: wood1986 <5212215+wood1986@users.noreply.github.com> Date: Tue, 12 Oct 2021 11:11:28 -0700 Subject: [PATCH] fix: fix lint --- src/viewer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index d8e6757f..dce34157 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -153,7 +153,7 @@ async function generateReport(bundleStats, opts) { }); const reportFilepath = path.resolve(bundleDir || process.cwd(), reportFilename); - writeToFs(fs, reportFilepath, reportHtml) + writeToFs(fs, reportFilepath, reportHtml); logger.info(`${bold('Webpack Bundle Analyzer')} saved report to ${bold(reportFilepath)}`); @@ -169,7 +169,7 @@ async function generateJSONReport(bundleStats, opts) { if (!chartData) return; - writeToFs(fs, reportFilename, JSON.stringify(chartData)) + writeToFs(fs, reportFilename, JSON.stringify(chartData)); logger.info(`${bold('Webpack Bundle Analyzer')} saved JSON report to ${bold(reportFilename)}`); }