diff --git a/packages/repack/commands.js b/packages/repack/commands.js index a0635e7da..d9bb2f5b1 100644 --- a/packages/repack/commands.js +++ b/packages/repack/commands.js @@ -51,10 +51,10 @@ function getCommands() { const cliCommands = Object.values(getCommands()); -const startCommand = Object.values(cliCommands).find( +const startCommand = cliCommands.find( (command) => command.name === 'start' ); -const bundleCommand = Object.values(cliCommands).find( +const bundleCommand = cliCommands.find( (command) => command.name === 'bundle' );