Skip to content
This repository was archived by the owner on Feb 7, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/__tests__/webpackWorker.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {});

Expand Down
2 changes: 1 addition & 1 deletion src/webpackWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down