Update all non-major dependencies (#28898)

* Update all non-major dependencies

* Fix types

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
renovate[bot]
2025-01-08 08:57:24 +00:00
committed by GitHub
parent f75d1f5a5e
commit 7e5420100a
3 changed files with 12 additions and 12 deletions

View File

@@ -19,9 +19,9 @@ const argv = parseArgs(process.argv.slice(2), {});
const watch = argv.w;
const verbose = argv.v;
function errCheck(err?: Error): void {
function errCheck(err: unknown): void {
if (err) {
console.error(err.message);
console.error(err instanceof Error ? err.message : err);
process.exit(1);
}
}