Skip to content

Commit 26670ae

Browse files
authored
Merge pull request #34 from contentstack/fix/DX-585
DX - 585 - changed bin file for oclif v3
2 parents c00520e + 1b6b473 commit 26670ae

5 files changed

Lines changed: 2459 additions & 12137 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ yarn-error.log*
77
lerna-debug.log*
88
*-debug.log
99
*-error.log
10-
10+
oclif.manifest.json
1111
/.nyc_output
1212
/dist
1313
/lib

bin/run

Lines changed: 0 additions & 6 deletions
This file was deleted.

bin/run.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env node
2+
3+
// eslint-disable-next-line unicorn/prefer-top-level-await
4+
(async () => {
5+
const oclif = await import('@oclif/core')
6+
await oclif.execute({development: false, dir: __dirname})
7+
})()

0 commit comments

Comments
 (0)