Skip to content

Commit bf32074

Browse files
committed
chore: update commands
1 parent 2c0c221 commit bf32074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/webpack-cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class WebpackCLI extends GroupHelper {
164164

165165
runHelp(args) {
166166
const HelpGroup = require('./groups/help');
167-
const Commands = ['create', 'loader', 'plugin', 'migrate', 'info', 'serve'];
167+
const Commands = require('./utils/commands').names;
168168
let command = null;
169169
args.forEach(arg => {
170170
if (Commands.includes(arg)) command = arg;

0 commit comments

Comments
 (0)