Skip to content

Commit

Permalink
minor optimisation
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamkrishnar committed Jul 22, 2020
1 parent bf2b479 commit d022f8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blog-post-workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Promise.allSettled(promiseArray).then((results) => {
if (result.status === "fulfilled") {
// Succeeded
core.info(runnerNameArray[index] + ' runner succeeded. Post count: ' + result.value.length);
postsArray = [...postsArray, ...result.value]
postsArray.push(...result.value);
} else {
jobFailFlag = true;
// Rejected
Expand Down
2 changes: 1 addition & 1 deletion dist/blog-post-workflow.js

Large diffs are not rendered by default.

0 comments on commit d022f8a

Please sign in to comment.