Skip to content

Commit 8157321

Browse files
committed
add app module path
1 parent 487ea99 commit 8157321

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"author": "kriskbx",
3737
"license": "GPL-2.0",
3838
"dependencies": {
39+
"app-module-path": "^2.2.0",
3940
"async": "^2.6.1",
4041
"camelcase": "^4.1.0",
4142
"cli-cursor": "^2.1.0",

src/gtt.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env node
2+
require('app-module-path').addPath(__dirname);
23

3-
const version = '1.7.33';
4+
const version = '1.7.33';
45
const program = require('commander');
56

67
program

yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ ansi-styles@^3.2.1:
8282
dependencies:
8383
color-convert "^1.9.0"
8484

85+
app-module-path@^2.2.0:
86+
version "2.2.0"
87+
resolved "https://registry.yarnpkg.com/app-module-path/-/app-module-path-2.2.0.tgz#641aa55dfb7d6a6f0a8141c4b9c0aa50b6c24dd5"
88+
8589
argparse@^1.0.7:
8690
version "1.0.10"
8791
resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"

0 commit comments

Comments
 (0)