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/main.ts
diff options
context:
space:
mode:
authoreric sciple <ericsciple@users.noreply.github.com>2021-10-19 09:52:57 -0500
committerGitHub <noreply@github.com>2021-10-19 09:52:57 -0500
commit5ee37f14842852931cb987e86d63ffb679abd036 (patch)
tree62fac9cbba0ad2cb177776904836eb5b2e88076c /src/main.ts
parent6a88a892fe72e01ab1409fe94c4d26e71b939c94 (diff)
update dev dependencies and react to new linting rules (#611)
Diffstat (limited to 'src/main.ts')
-rw-r--r--src/main.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.ts b/src/main.ts
index 4702fe0..07a7ce3 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -24,7 +24,7 @@ async function run(): Promise<void> {
coreCommand.issueCommand('remove-matcher', {owner: 'checkout-git'}, '')
}
} catch (error) {
- core.setFailed(error.message)
+ core.setFailed(`${(error as any)?.message ?? error}`)
}
}
@@ -32,7 +32,7 @@ async function cleanup(): Promise<void> {
try {
await gitSourceProvider.cleanup(stateHelper.RepositoryPath)
} catch (error) {
- core.warning(error.message)
+ core.warning(`${(error as any)?.message ?? error}`)
}
}