Chore: fix warnings

This commit is contained in:
Pieter Vander Vennet 2023-06-02 08:42:08 +02:00
parent ab70c6adc0
commit 47ae4cb456
38 changed files with 49 additions and 90 deletions

View file

@ -80,7 +80,6 @@ export class WikimediaImageProvider extends ImageProvider {
}
public PrepUrl(value: string): ProvidedImage {
const hasCommonsPrefix = WikimediaImageProvider.startsWithCommonsPrefix(value)
value = WikimediaImageProvider.removeCommonsPrefix(value)
if (value.startsWith("File:")) {