diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-06 21:06:56 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-06 21:06:56 +0530 |
commit | 1fa3cad2e7ea61d74308dc40335b677533a5d1ce (patch) | |
tree | d0baf9965b4eb5a8d29edf073b76a1614c0d0874 /packages/taler-wallet-cli/src | |
parent | ecf763126e858a7878b078fa94f96cee18b5900d (diff) | |
download | wallet-core-1fa3cad2e7ea61d74308dc40335b677533a5d1ce.tar.xz |
handle package.json properly in CLI
Diffstat (limited to 'packages/taler-wallet-cli/src')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index ae5371ecc..77b7da1d5 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -110,7 +110,7 @@ function applyVerbose(verbose: boolean): void { function printVersion(): void { // eslint-disable-next-line @typescript-eslint/no-var-requires - const info = require("../../../package.json"); + const info = require("../package.json"); console.log(`${info.version}`); process.exit(0); } |