From 0d475e5d1a1106c718633a491637e6ef0f042dc3 Mon Sep 17 00:00:00 2001 From: subash adhikari Date: Tue, 6 Dec 2022 00:07:20 +1100 Subject: [PATCH] fix typo that breaks code (#17) --- npm/install.js | 2 +- npm/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/npm/install.js b/npm/install.js index c79e7f7..af345b4 100644 --- a/npm/install.js +++ b/npm/install.js @@ -55,7 +55,7 @@ const install = () => { throw new Error(`${tarFile} does not exist`) } - cp.execSync(`tar -xf ${tarFile}.test -C ${tmpdir}`); + cp.execSync(`tar -xf ${tarFile} -C ${tmpdir}`); fs.copyFileSync(path.join(tmpdir, binaryName), path.join(bin, binaryName)); } catch (error) { console.error('failed to extract binary.', error.message) diff --git a/npm/package.json b/npm/package.json index 29f96af..c0871cc 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,6 +1,6 @@ { "name": "@adikari/safebox", - "version": "1.2.1", + "version": "1.2.2", "description": "A Fast and Flexible secret manager built with love by adikari in Go", "main": "index.js", "bin": "./run.js",