From f8791c8f40fa0efae290d986cd73306ad1afeb1b Mon Sep 17 00:00:00 2001 From: Frank van Gemeren Date: Mon, 10 Sep 2018 10:54:06 +0200 Subject: [PATCH] chore: fix typo --- src/__tests__/webpackWorker.spec.js | 2 +- src/webpackWorker.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/__tests__/webpackWorker.spec.js b/src/__tests__/webpackWorker.spec.js index 3d6f424..0ff4776 100644 --- a/src/__tests__/webpackWorker.spec.js +++ b/src/__tests__/webpackWorker.spec.js @@ -150,7 +150,7 @@ describe('webpackWorker', () => { describe('multi config options', () => { const multiConfigTest = options => { - const errorMessage = '[WEBPACK] There is a difference between the amount of the provided configs. Maybe you where expecting command line arguments to be passed to your webpack.config.js. If so, you\'ll need to separate them with a -- from the parallel-webpack options.' + const errorMessage = '[WEBPACK] There is a difference between the amount of the provided configs. Maybe you were expecting command line arguments to be passed to your webpack.config.js. If so, you\'ll need to separate them with a -- from the parallel-webpack options.' jest.doMock('multiTestConfig', () => ( [{ fail: true}, { webpack: 'config'}]), { virtual: true }); jest.spyOn(console, 'error').mockImplementation(() => {}); diff --git a/src/webpackWorker.js b/src/webpackWorker.js index 8aa0080..685a18c 100644 --- a/src/webpackWorker.js +++ b/src/webpackWorker.js @@ -77,7 +77,7 @@ module.exports = function(configuratorFileName, options, index, expectedConfigLe || Array.isArray(config) && config.length !== expectedConfigLength) { if(config.length !== expectedConfigLength) { var errorMessage = '[WEBPACK] There is a difference between the amount of the' - + ' provided configs. Maybe you where expecting command line' + + ' provided configs. Maybe you were expecting command line' + ' arguments to be passed to your webpack.config.js. If so,' + " you'll need to separate them with a -- from the parallel-webpack options."; console.error(errorMessage);