mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
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) {
|
||||
if (src && isLinkHttp(src)
|
||||
&& !imgList.includes(src)
|
||||
&& !BADGE_LIST.some(badge => src.startsWith(badge))
|
||||
) {
|
||||
&& !BADGE_LIST.some(badge => src.startsWith(badge))) {
|
||||
imgList.push(src)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user