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/ref-helper.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ref-helper.ts') diff --git a/src/ref-helper.ts b/src/ref-helper.ts index 381fa60..209f49d 100644 --- a/src/ref-helper.ts +++ b/src/ref-helper.ts @@ -253,7 +253,9 @@ export async function checkCommitInfo( await octokit.repos.get({owner: repositoryOwner, repo: repositoryName}) } } catch (err) { - core.debug(`Error when validating commit info: ${err.stack}`) + core.debug( + `Error when validating commit info: ${(err as any)?.stack ?? err}` + ) } } -- cgit v1.2.3