From 856eba8ca9d4929d5aca2c3fcef41fd9bde8d09f Mon Sep 17 00:00:00 2001 From: Chen Asraf Date: Thu, 14 Dec 2023 10:49:59 +0200 Subject: [PATCH] fix: build --- src/command.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/command.ts b/src/command.ts index 546eb52..e2f9909 100644 --- a/src/command.ts +++ b/src/command.ts @@ -4,7 +4,6 @@ import { defaultHelpConfig, HelpConfig, HelpGenerator } from './help' import { MassargOption, MassargFlag, - OptionConfig, TypedOptionConfig, MassargHelpFlag, OPT_FULL_PREFIX, @@ -245,7 +244,7 @@ export class MassargCommand { } private assertNotDuplicate(option: MassargOption) { - const existingName = this.options.find((c) => c.name === option.name),) + const existingName = this.options.find((c) => c.name === option.name)) if (existingName) { throw new ValidationError({ code: 'duplicate_option_name',