Skip to content

Commit

Permalink
fix: log error in case of cherry-pick error
Browse files Browse the repository at this point in the history
to help debug #245
  • Loading branch information
gr2m committed Nov 12, 2020
1 parent 0e27d1e commit 453e753
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ async function checkOutRemoteBranch(branch) {

return true;
} catch (error) {
core.info(inspect(error)))
core.info(`Branch "${branch}" does not yet exist on remote.`);
await runShellCommand(`git checkout -b ${branch}`);
return false;
Expand Down

0 comments on commit 453e753

Please sign in to comment.