Skip to content

Commit 84eac74

Browse files
committed
fix(ci): fix option handling in ci update command
1 parent b576301 commit 84eac74

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • packages/cli/src/commands

packages/cli/src/commands/ci.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ export const registerCiCommand = (program: Command) => {
1313
.command('update')
1414
.description('Update game to the latest version')
1515
.option('-s, --skip-update', 'Skip update')
16-
.action(ciUpdateCommand)
16+
.action(async (options: { skipUpdate: boolean }) => {
17+
return ciUpdateCommand(options.skipUpdate)
18+
})
1719

1820
return ciCmd
1921
}

0 commit comments

Comments
 (0)