Skip to content

Commit

Permalink
[semver:patch] enable cross-browser commit check (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav authored Mar 17, 2022
1 parent ee33e1d commit c96201a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/find-successful-workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function findSuccessfulPipeline(pipelines, workflowName) {

function commitExists(commitSha) {
try {
execSync(`git cat-file -e ${commitSha} 2> /dev/null`);
execSync(`git cat-file -e ${commitSha}`, { stdio: ['pipe', 'pipe', null] });
return true;
} catch {
return false;
Expand Down

0 comments on commit c96201a

Please sign in to comment.