This commit is contained in:
Vallie Joseph committed 2022-12-06 18:57:47 +00:00
1 parent 34070387ee
commit c22ccee38a
2 files changed
+2 -17

No files matched your search

+1 -9
View File
@@ -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)
}
}