🔧 format code

This commit is contained in:
Tw93
2025-08-13 19:45:22 +08:00
parent 09a122dd6b
commit 48be7fce14
9 changed files with 24 additions and 24 deletions

4
bin/utils/url.ts vendored
View File

@@ -35,6 +35,8 @@ export function normalizeUrl(urlToNormalize: string): string {
new URL(urlWithProtocol);
return urlWithProtocol;
} catch (err) {
throw new Error(`Your url "${urlWithProtocol}" is invalid: ${(err as Error).message}`);
throw new Error(
`Your url "${urlWithProtocol}" is invalid: ${(err as Error).message}`,
);
}
}