diff options
author | Sebastian <sebasjm@gmail.com> | 2023-12-11 11:39:43 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-12-11 11:39:43 -0300 |
commit | 43aadba5ab726fb248883171090207b9d4061384 (patch) | |
tree | 27ca8100f8edf2bdbcd70c58cd5f2631d8075011 /packages/taler-wallet-cli/src/index.ts | |
parent | 805078c3dbd6eff4b62b872ad7663156980312a6 (diff) | |
download | wallet-core-43aadba5ab726fb248883171090207b9d4061384.tar.xz |
also print git hash
Diffstat (limited to 'packages/taler-wallet-cli/src/index.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index 429252427..ea250de19 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -156,8 +156,9 @@ function applyVerbose(verbose: boolean): void { } declare const __VERSION__: string; +declare const __GIT_HASH__: string; function printVersion(): void { - console.log(__VERSION__); + console.log(`${__VERSION__} ${__GIT_HASH__}`); processExit(0); } |