diff --git a/src/viewer.js b/src/viewer.js index 3107136a..9f21324e 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -184,7 +184,7 @@ function getChartData(analyzerOpts, ...args) { try { chartData = analyzer.getViewerData(...args, analyzerOpts); } catch (err) { - logger.error(`Could't analyze webpack bundle:\n${err}`); + logger.error(`Couldn't analyze webpack bundle:\n${err}`); logger.debug(err.stack); chartData = null; } @@ -195,7 +195,7 @@ function getChartData(analyzerOpts, ...args) { chartData && !Array.isArray(chartData) ) { - logger.error("Could't find any javascript bundles in provided stats file"); + logger.error("Couldn't find any javascript bundles in provided stats file"); chartData = null; } diff --git a/test/analyzer.js b/test/analyzer.js index fe21dd9b..89b26f07 100644 --- a/test/analyzer.js +++ b/test/analyzer.js @@ -94,7 +94,7 @@ describe('Analyzer', function () { ); }); - it.skip("should not filter out modules that we could't find during parsing", async function () { + it.skip("should not filter out modules that we couldn't find during parsing", async function () { generateReportFrom('with-missing-parsed-module/stats.json'); const chartData = await getChartData(); let unparsedModules = 0;