1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2024-12-23 12:36:00 +01:00

adding temp path info

This commit is contained in:
Vallie Joseph 2022-12-06 16:29:07 +00:00
parent 68ee81ee89
commit 922e12e3a3
2 changed files with 3 additions and 0 deletions

1
dist/index.js vendored
View file

@ -7204,6 +7204,7 @@ class GitAuthHelper {
if (((_a = this.temporaryHomePath) === null || _a === void 0 ? void 0 : _a.length) > 0) { if (((_a = this.temporaryHomePath) === null || _a === void 0 ? void 0 : _a.length) > 0) {
core.debug(`Unsetting HOME override`); core.debug(`Unsetting HOME override`);
this.git.removeEnvironmentVariable('HOME'); this.git.removeEnvironmentVariable('HOME');
core.info(`hi there: $(this.temporaryHomePath)`);
yield io yield io
.rmRF(this.temporaryHomePath) .rmRF(this.temporaryHomePath)
// eslint-disable-next-line github/no-then // eslint-disable-next-line github/no-then

View file

@ -197,6 +197,8 @@ class GitAuthHelper {
if (this.temporaryHomePath?.length > 0) { if (this.temporaryHomePath?.length > 0) {
core.debug(`Unsetting HOME override`) core.debug(`Unsetting HOME override`)
this.git.removeEnvironmentVariable('HOME') this.git.removeEnvironmentVariable('HOME')
core.info(`hi there: $(this.temporaryHomePath)`)
await io await io
.rmRF(this.temporaryHomePath) .rmRF(this.temporaryHomePath)
// eslint-disable-next-line github/no-then // eslint-disable-next-line github/no-then