Skip to content

Commit

Permalink
fix: Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li authored Apr 12, 2022
1 parent c9d5edf commit ddf6591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/publication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit ddf6591

Please sign in to comment.