Skip to content

Commit 856eba8

Browse files
committed
fix: build
1 parent a3090f9 commit 856eba8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/command.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { defaultHelpConfig, HelpConfig, HelpGenerator } from './help'
44
import {
55
MassargOption,
66
MassargFlag,
7-
OptionConfig,
87
TypedOptionConfig,
98
MassargHelpFlag,
109
OPT_FULL_PREFIX,
@@ -245,7 +244,7 @@ export class MassargCommand<Args extends ArgsObject = ArgsObject> {
245244
}
246245

247246
private assertNotDuplicate<T = string, A extends ArgsObject = Args>(option: MassargOption<T, A>) {
248-
const existingName = this.options.find((c) => c.name === option.name),)
247+
const existingName = this.options.find((c) => c.name === option.name))
249248
if (existingName) {
250249
throw new ValidationError({
251250
code: 'duplicate_option_name',

0 commit comments

Comments
 (0)