fix: remove unused variables (#7968)

This commit is contained in:
Don Isaac
2024-08-26 02:23:56 -04:00
committed by GitHub
parent 14066965fa
commit dbcfd24ed8
18 changed files with 18 additions and 18 deletions
@@ -89,7 +89,7 @@ export class URLHelper {
if (!['http:', 'https:'].includes(url.protocol)) return false;
if (!url.hostname) return false;
return true;
} catch (_) {
} catch {
return false;
}
}
@@ -123,7 +123,7 @@ export class FsStorageProvider implements StorageProvider {
});
}
}
} catch (e) {
} catch {
// failed to read dir, stop recursion
}
}
@@ -42,7 +42,7 @@ export async function autoMetadata(
}
return metadata;
} catch (e) {
} catch {
return metadata;
}
}