diff options
Diffstat (limited to 'src/git-directory-helper.ts')
| -rw-r--r-- | src/git-directory-helper.ts | 4 |
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}` + ) } } |
