style: lint fix
This commit is contained in:
parent
2780abd782
commit
8a873e1e58
@ -197,8 +197,7 @@ export async function scanRemoteImageSize(app: App): Promise<void> {
|
|||||||
function addList(src: string) {
|
function addList(src: string) {
|
||||||
if (src && isLinkHttp(src)
|
if (src && isLinkHttp(src)
|
||||||
&& !imgList.includes(src)
|
&& !imgList.includes(src)
|
||||||
&& !BADGE_LIST.some(badge => src.startsWith(badge))
|
&& !BADGE_LIST.some(badge => src.startsWith(badge))) {
|
||||||
) {
|
|
||||||
imgList.push(src)
|
imgList.push(src)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user