Skip to content

Commit 9e3d688

Browse files
committed
oclif error handling
1 parent cb2be96 commit 9e3d688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/bin/run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ if (!semver.satisfies(process.version, nodeVersion)) {
1212
}
1313

1414
await run(process.argv.slice(2), import.meta.url)
15-
.catch(async error => handle(error))
15+
.catch(async error => handle({ ...error, skipOclifErrorHandling: true }))
1616
.finally(async () => flush());

0 commit comments

Comments
 (0)