Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrybczak committed Dec 15, 2023
1 parent b0461ee commit 291ee93
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/repack/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,8 @@ function getCommands() {

const cliCommands = Object.values(getCommands());

const startCommand = cliCommands.find(
(command) => command.name === 'start'
);
const bundleCommand = cliCommands.find(
(command) => command.name === 'bundle'
);
const startCommand = cliCommands.find(({ name }) => name === 'start');
const bundleCommand = cliCommands.find(({ name }) => name === 'bundle');

const webpackConfigOption = {
name: '--webpackConfig <path>',
Expand Down

0 comments on commit 291ee93

Please sign in to comment.