From 3cd32b23bbbdb8caf0ff579c540e9515781c8f24 Mon Sep 17 00:00:00 2001 From: Matt Jarrett <16245634+cujarrett@users.noreply.github.com> Date: Mon, 29 Nov 2021 23:50:43 -0600 Subject: [PATCH] fix: version command (#125) --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index f102840..5804294 100755 --- a/src/index.js +++ b/src/index.js @@ -12,7 +12,7 @@ const app = async () => { const green = "00c853" const orange = "ff9800" - const pkg = await JSON.parse(await fs.readFile("package.json")) + const pkg = await JSON.parse(await fs.readFile("./package.json")) yargs(hideBin(process.argv)) .wrap(null)