From a00957309d2a32beb4a1c8c12eb17c6b1405e472 Mon Sep 17 00:00:00 2001 From: Raymond Wentowski Date: Mon, 31 Mar 2025 18:20:42 -0400 Subject: [PATCH] Corrected all misspellings of the word couldn't throughout the source code. --- src/viewer.js | 4 ++-- test/analyzer.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;