We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05c25ba commit d9f7a6dCopy full SHA for d9f7a6d
src/sfCommand.ts
@@ -382,9 +382,9 @@ export abstract class SfCommand<T> extends Command {
382
sfCommandError.exitCode === 2 &&
383
error.message.includes('Unexpected argument')
384
) {
385
- // @ts-expect-error error's causes aren't typed, this is what's returned from flag parsing errors
386
- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
387
const output =
+ // @ts-expect-error error's causes aren't typed, this is what's returned from flag parsing errors
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
388
(sfCommandError.cause?.parse?.output?.raw as Array<{ flag: string; input: string; type: 'flag' | 'arg' }>) ??
389
[];
390
0 commit comments