Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVallie Joseph <vmjoseph@github.com>2022-12-06 18:57:47 +0000
committerVallie Joseph <vmjoseph@github.com>2022-12-06 18:57:47 +0000
commit41eb8808f7bb375ddfec44adcace79d9745e8280 (patch)
tree6b5893d8b6cdcaa7fd6ad99555ecd3a5f38fac36
parent9279eb6f975e532409e1296a2dfd932e68bfa26d (diff)
-rw-r--r--dist/index.js9
-rw-r--r--src/git-auth-helper.ts10
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)
}
}