From ddf6591a5fe0fb00017f67145df5733347990efa Mon Sep 17 00:00:00 2001 From: Mara Date: Tue, 12 Apr 2022 12:55:56 +0200 Subject: [PATCH] fix: Typo --- src/publication.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/publication.ts b/src/publication.ts index 7a9edde4..e8ed3b93 100644 --- a/src/publication.ts +++ b/src/publication.ts @@ -44,7 +44,7 @@ export default class MkdocsPublish { const imageLink = this.metadataCache.getFirstLinkpathDest(embed_file.link, file.path); const imgExt = imageLink.extension; const regImg = /(png|jpe?g|svg|bmp|gif)$/i; - if (imgExt.match(regImg) { + if (imgExt.match(regImg)) { image_list.push(imageLink); } }