From 5ee37f14842852931cb987e86d63ffb679abd036 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Tue, 19 Oct 2021 09:52:57 -0500 Subject: update dev dependencies and react to new linting rules (#611) --- src/git-directory-helper.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/git-directory-helper.ts') 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}` + ) } } -- cgit v1.2.3