Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 342605c

Browse files
committed
fix: read version from package.json
1 parent cec2a90 commit 342605c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/gtt.js

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

3-
const version = '1.7.29';
3+
const packageJson = require('../package.json');
4+
5+
const version = packageJson.version;
46
const program = require('commander');
57

68
program

0 commit comments

Comments
 (0)