Commit c22ccee3 authored by Vallie Joseph's avatar Vallie Joseph
Browse files

.

parent 34070387
Loading
Loading
Loading
Loading
+1 −8
Changes for dist/index.js: 1 added line, 8 removed lines.
Original line number Diff line number Diff line
@@ -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);
            }
        });
    }
+1 −9
Changes for src/git-auth-helper.ts: 1 added line, 9 removed lines.
Original line number Diff line number Diff line
@@ -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)
    }
  }