diff options
| author | Vallie Joseph <vmjoseph@github.com> | 2022-12-06 04:06:53 +0000 |
|---|---|---|
| committer | Vallie Joseph <vmjoseph@github.com> | 2022-12-06 04:06:53 +0000 |
| commit | 3e4fe0716e5bc540464c17fc24d7d762fc975367 (patch) | |
| tree | da4fb8729e8708652e81b84e6761c7cfd08a20ea /dist | |
| parent | 23b72b2a86145792a4202677f47f0fe4252decd2 (diff) | |
updating error handling
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/index.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dist/index.js b/dist/index.js index 4ba9ad6..64d9e71 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7204,7 +7204,13 @@ class GitAuthHelper { if (((_a = this.temporaryHomePath) === null || _a === void 0 ? void 0 : _a.length) > 0) { core.debug(`Unsetting HOME override`); this.git.removeEnvironmentVariable('HOME'); - yield io.rmRF(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 home directory: ${err}`); + }); } }); } |
