refactor(backend): no-unused-vars
This commit is contained in:
parent
c14d6c53da
commit
14e1508d00
37 changed files with 51 additions and 84 deletions
|
@ -4,7 +4,7 @@ export function isValidHttpUrl(url: string): boolean {
|
|||
try {
|
||||
const parsedUrl = new URL(url, 'http://test.be');
|
||||
return parsedUrl.protocol === 'http:' || parsedUrl.protocol === 'https:';
|
||||
} catch (e) {
|
||||
} catch (_) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue