Skip to content

Commit

Permalink
fix: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wood1986 committed Oct 12, 2021
1 parent 59377a0 commit 6f85bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`);

Expand All @@ -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)}`);
}
Expand Down

0 comments on commit 6f85bdd

Please sign in to comment.