mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-06 11:31:37 +00:00
chore(deps): update jest to v29 (major) (#825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: peaceiris <30958501+peaceiris@users.noreply.github.com>
This commit is contained in:
1 parent
2c6daf7153
commit
fd54e565f4
6 files changed
+1862
-6341
No files matched your search
+6
-2
@@ -138,7 +138,11 @@ export async function setTokens(inps: Inputs): Promise<string> {
|
||||
} else {
|
||||
throw new Error('not found deploy key or tokens');
|
||||
}
|
||||
} catch (e) {
|
||||
throw new Error(e.message);
|
||||
} catch (error) {
|
||||
if (error instanceof Error) {
|
||||
throw new Error(error.message);
|
||||
} else {
|
||||
throw new Error('unexpected error');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user