Skip to content

Commit

Permalink
using pipes to remove confusing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamkrishnar committed Jan 20, 2021
1 parent ebad1b1 commit 6804863
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions blog-post-workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,9 @@ Promise.allSettled(promiseArray).then((results) => {
if (postsArray.length > 0) {
try {
if (!process.env.TEST_MODE) {
await exec('git', ['config','pull.rebase', 'true']);
await exec('git',['pull']); // Pulling the latest changes from upstream
await exec('git', ['config','pull.rebase', 'true'], {stdio: ['pipe', 'pipe', 'pipe']});
// Pulling the latest changes from upstream
await exec('git',['pull'], {stdio: ['pipe', 'pipe', 'pipe']});
}
const readmeData = fs.readFileSync(README_FILE_PATH, 'utf8');
const template = core.getInput('template');
Expand Down

0 comments on commit 6804863

Please sign in to comment.