diff options
Diffstat (limited to 'src/ref-helper.ts')
| -rw-r--r-- | src/ref-helper.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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}` + ) } } |
