Skip to content

Commit

Permalink
[skip-ci] Published 1.7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
gkr-bot committed Jul 24, 2022
1 parent f3b565e commit 7a8cb07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dist/blog-post-workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -9354,11 +9354,11 @@ feedList.forEach((siteUrl) => {
}
}
if (post && core.getInput("remove_duplicates") === "true") {
if (appendedPostTitles.indexOf(post.title) !== -1 || appendedPostDesc.indexOf(post.description) !== -1) {
if (appendedPostTitles.indexOf(post.title.trim()) !== -1 || appendedPostDesc.indexOf(post.description.trim()) !== -1) {
post = null;
} else {
post.title && appendedPostTitles.push(post.title);
post.description && appendedPostDesc.push(post.description);
post.title && appendedPostTitles.push(post.title.trim());
post.description && appendedPostDesc.push(post.description.trim());
}
}
const disableHtmlEncoding = core.getInput("disable_html_encoding") !== "false";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blog-post-workflow",
"version": "1.7.6",
"version": "1.7.7",
"description": "Allows you to show your latest blog posts on your github profile or project readme",
"main": "blog-post-workflow.js",
"scripts": {
Expand Down

0 comments on commit 7a8cb07

Please sign in to comment.