Skip to content

Commit a006725

Browse files
Apply suggestions from code review
1 parent f7bd481 commit a006725

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/webpack-cli/lib/utils/cli-flags.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ADVANCED_GROUP = 'advanced';
88
const DISPLAY_GROUP = 'stats';
99
const ZERO_CONFIG_GROUP = 'zero-config';
1010

11-
// Extract all the flages being exported from core. A list of cli flags generated by core
11+
// Extract all the flags being exported from core. A list of cli flags generated by core
1212
// can be found here https://github.com/webpack/webpack/blob/master/test/__snapshots__/Cli.test.js.snap
1313
let flagsFromCore =
1414
typeof cli !== 'undefined'
@@ -273,5 +273,5 @@ module.exports = {
273273
group: BASIC_GROUP
274274
} */
275275
],
276-
flagsFromCore: flagsFromCore,
276+
flagsFromCore,
277277
};

‎test/core-flags/module-flags.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const { run, hyphenToUpperCase } = require('../utils/test-utils');
44
const { flagsFromCore } = require('../../packages/webpack-cli/lib/utils/cli-flags');
5-
//--module-rules-options will be exluded for cli.
5+
//--module-rules-options will be excluded for cli.
66
const moduleFlags = flagsFromCore.filter(({ name }) => name.startsWith('module-') && name !== 'module-rules-options');
77

88
describe('module config related flag', () => {

0 commit comments

Comments
 (0)