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:
renovate[bot]andpeaceiris authored and GitHub committed 2023-01-17 22:30:07 +09:00
1 parent 2c6daf7153
commit fd54e565f4
6 files changed
+1862 -6341

No files matched your search

+6 -2
View File
@@ -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');
}
}
}