Skip to content

Commit fe74462

Browse files
authored
Merge pull request #123 from amtrack/fix/bin
fix: running as bin (sfdx-plugin-package-xml)
2 parents b5ec862 + 6fd0898 commit fe74462

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

bin/run

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env node
22

3-
require('@oclif/command').run()
4-
.catch(require('@oclif/errors/handle'))
3+
const oclif = require("@oclif/core");
4+
5+
oclif
6+
.run()
7+
.then(require("@oclif/core/flush"))
8+
.catch(require("@oclif/core/handle"));

0 commit comments

Comments
 (0)