Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/git-directory-helper.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/git-directory-helper.ts')
-rw-r--r--src/git-directory-helper.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/git-directory-helper.ts b/src/git-directory-helper.ts
index e792190..2979e97 100644
--- a/src/git-directory-helper.ts
+++ b/src/git-directory-helper.ts
@@ -39,7 +39,9 @@ export async function prepareExistingDirectory(
try {
await io.rmRF(lockPath)
} catch (error) {
- core.debug(`Unable to delete '${lockPath}'. ${error.message}`)
+ core.debug(
+ `Unable to delete '${lockPath}'. ${(error as any)?.message ?? error}`
+ )
}
}