Skip to content

Commit

Permalink
chore: Update git-helper to ignore return code when executing git com…
Browse files Browse the repository at this point in the history
…mands
  • Loading branch information
Ackuq committed Jun 3, 2024
1 parent fec4c64 commit 4f6bf09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions actions/update-standpoints/dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27991,6 +27991,7 @@ async function exec(command, throwOnError = true) {
_actions_core__WEBPACK_IMPORTED_MODULE_0__.info(`Running \`git ${command.join(" ")}\``);
const response = await (0,_actions_exec__WEBPACK_IMPORTED_MODULE_1__.getExecOutput)("git", command, {
failOnStdErr: throwOnError,
ignoreReturnCode: throwOnError,
});

return response;
Expand Down
1 change: 1 addition & 0 deletions actions/update-standpoints/src/git-helper.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ async function exec(command, throwOnError = true) {
core.info(`Running \`git ${command.join(" ")}\``);
const response = await getExecOutput("git", command, {
failOnStdErr: throwOnError,
ignoreReturnCode: throwOnError,
});

return response;
Expand Down

0 comments on commit 4f6bf09

Please sign in to comment.