diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/git-auth-helper.ts | 2 | ||||
| -rw-r--r-- | src/github-api-helper.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/git-auth-helper.ts b/src/git-auth-helper.ts index fc1404c..291d83b 100644 --- a/src/git-auth-helper.ts +++ b/src/git-auth-helper.ts @@ -148,7 +148,7 @@ class GitAuthHelper { output.match(/(?<=(^|\n)file:)[^\t]+(?=\tremote\.origin\.url)/g) || [] for (const configPath of configPaths) { core.debug(`Replacing token placeholder in '${configPath}'`) - this.replaceTokenPlaceholder(configPath) + await this.replaceTokenPlaceholder(configPath) } if (this.settings.sshKey) { diff --git a/src/github-api-helper.ts b/src/github-api-helper.ts index 8bbcf2d..cadd13b 100644 --- a/src/github-api-helper.ts +++ b/src/github-api-helper.ts @@ -47,7 +47,7 @@ export async function downloadRepository( } else { await toolCache.extractTar(archivePath, extractPath) } - io.rmRF(archivePath) + await io.rmRF(archivePath) // Determine the path of the repository content. The archive contains // a top-level folder and the repository content is inside. @@ -70,7 +70,7 @@ export async function downloadRepository( await io.mv(sourcePath, targetPath) } } - io.rmRF(extractPath) + await io.rmRF(extractPath) } /** |
