Skip to content

Commit

Permalink
build(release): compiled action for 1.2.0
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
semantic-release-bot committed Jan 9, 2020
1 parent ac36a64 commit 30df2f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17419,7 +17419,7 @@ async function getNewTweets({ octokit, toolkit, payload }) {
}
);

return parseDiff(data)
const newTweets = parseDiff(data)
.filter(file => file.new && /^tweets\/.*\.tweet$/.test(file.to))
.map(file => {
const text = file.chunks[0].changes
Expand All @@ -17430,6 +17430,9 @@ async function getNewTweets({ octokit, toolkit, payload }) {
...parseTweet(text)
};
});

toolkit.info(`New tweets found: ${newTweets.length}`);
return newTweets
}


Expand Down

0 comments on commit 30df2f1

Please sign in to comment.