From c22ccee38a13e34cb01a103c324adb1db665821e Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Tue, 6 Dec 2022 18:57:47 +0000 Subject: [PATCH] . --- dist/index.js | 9 +-------- src/git-auth-helper.ts | 10 +--------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/dist/index.js b/dist/index.js index cbcc485..5fa853f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7206,14 +7206,7 @@ class GitAuthHelper { if (((_a = this.temporaryHomePath) === null || _a === void 0 ? void 0 : _a.length) > 0) { core.debug(`Unsetting HOME override`); this.git.removeEnvironmentVariable('HOME'); - core.info(`hi there: ${this.temporaryHomePath}`); - yield io - .rmRF(this.temporaryHomePath) - // eslint-disable-next-line github/no-then - .catch(err => { - // eslint-disable-next-line i18n-text/no-en - core.warning(`Failed to remove temporary checkout directory: ${err}`); - }); + yield io.rmRF(this.temporaryHomePath); } }); } diff --git a/src/git-auth-helper.ts b/src/git-auth-helper.ts index 1689fc6..6e3ad28 100644 --- a/src/git-auth-helper.ts +++ b/src/git-auth-helper.ts @@ -197,15 +197,7 @@ class GitAuthHelper { if (this.temporaryHomePath?.length > 0) { core.debug(`Unsetting HOME override`) this.git.removeEnvironmentVariable('HOME') - - core.info(`hi there: ${this.temporaryHomePath}`) - await io - .rmRF(this.temporaryHomePath) - // eslint-disable-next-line github/no-then - .catch(err => { - // eslint-disable-next-line i18n-text/no-en - core.warning(`Failed to remove temporary checkout directory: ${err}`) - }) + await io.rmRF(this.temporaryHomePath) } }