Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Image path concat was in the wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
emmachase committed Jul 8, 2020
1 parent 594d74c commit e50d0d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@ if (highlighter && config.languagePackages) {
}

const imagePaths =
_(config.otherHosts).values().concat(config.imagePath)
_(config.otherHosts).values()
.map("imagePath").filter(x => !!x)
.concat(config.imagePath)
.value();

for (imagePath of imagePaths) {
Expand Down

0 comments on commit e50d0d5

Please sign in to comment.