Fix ESLint issues

This commit is contained in:
2025-04-03 22:37:22 +02:00
parent 92ce2e68ad
commit 03f57a0ad7
5 changed files with 20 additions and 17 deletions

View File

@ -26,7 +26,7 @@ export function checkConstraint(
export function checkURL(s: string): boolean {
try {
return Boolean(new URL(s));
} catch (e) {
} catch {
return false;
}
}