From 683478639736d90c53b6b8d6e079017a876e3bdf Mon Sep 17 00:00:00 2001 From: Anthony Ongaro <43623494+ajongaro@users.noreply.github.com> Date: Sat, 2 Nov 2024 23:24:22 -0400 Subject: [PATCH 1/2] Feature | TEST-1232 | gh auth --- src/utils/gitHelpers.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/gitHelpers.ts b/src/utils/gitHelpers.ts index 75d8ff6..489b3ea 100644 --- a/src/utils/gitHelpers.ts +++ b/src/utils/gitHelpers.ts @@ -27,10 +27,11 @@ const promptGhAuthLogin = async (): Promise => { if (shouldLogin) { try { - await execShellCommand('gh auth login') + await execShellCommand('gh', ['auth', 'login'], { interactive: true }) console.log(chalk.green('Authentication successful!')) } catch (error) { console.error(chalk.red('Authentication failed. Please try again.')) + console.error(error) process.exit(1) } } else { From 2de8e8029cf891ac457bf461b0489cec969b5e97 Mon Sep 17 00:00:00 2001 From: Anthony Ongaro <43623494+ajongaro@users.noreply.github.com> Date: Sat, 2 Nov 2024 23:25:24 -0400 Subject: [PATCH 2/2] Version bump 1.0.0 -> 1.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 21b6a0f..4c76a2b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "patchport", - "version": "1.0.0", + "version": "1.0.1", "description": "a deployment and development environment management utility", "main": "index.js", "bin": {