Skip to content

Commit 27ba915

Browse files
Catch error if config is not available
1 parent 99a6be4 commit 27ba915

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

assets/out

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ cd "$path"
6565
merge_commit=$(git rev-parse HEAD)
6666

6767
# collect prq id from git config stored in git config (during get step)
68-
prq_number=$(git config --get pullrequest.id)
68+
# included cat to catch error
69+
prq_number=$(git config --get pullrequest.id | cat)
6970

7071
if [ -z "$prq_number" ]; then
7172
ls_remote=$(git ls-remote "$uri")

0 commit comments

Comments
 (0)