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 9e3d688 commit 0f60759Copy full SHA for 0f60759
packages/cli/bin/run.js
@@ -1,7 +1,7 @@
1
#!/usr/bin/env node
2
import process from 'node:process';
3
import semver from 'semver';
4
-import { flush, handle, run } from '@oclif/core';
+import { execute } from '@oclif/core';
5
import { nodeVersion } from '../dist/version.js';
6
7
if (!semver.satisfies(process.version, nodeVersion)) {
@@ -11,6 +11,4 @@ if (!semver.satisfies(process.version, nodeVersion)) {
11
process.exit(1);
12
}
13
14
-await run(process.argv.slice(2), import.meta.url)
15
- .catch(async error => handle({ ...error, skipOclifErrorHandling: true }))
16
- .finally(async () => flush());
+await execute({ dir: import.meta.url });
0 commit comments