Skip to content

Commit

Permalink
🚀 Deploy new version [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pabio-escobar committed Jul 7, 2022
1 parent 9bdb05f commit fdf36d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58768,7 +58768,9 @@ const parseNoteFile = async (dirName, year, file) => {
(contents.split("\n").find((line) => line.startsWith("description: ")) || "").replace("description: ", "") ||
(contents.split("\n").find((line) => line.startsWith("summary: ")) || "").replace("summary: ", "") ||
(title
? (contents.split(title)[1] || "")
? ((contents.split(title)[1] || "").includes("---\n")
? (contents.split(title)[1] || "").split("---\n").pop() || ""
: contents.split(title)[1] || "")
.trim()
.split("\n")
.find((line) => line.length > 10) || undefined
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit fdf36d1

Please sign in to comment.