Skip to content

Commit 4ce3443

Browse files
author
Eunjae Lee
authored
fix: get PR number correctly after preparation (#340)
1 parent 935dbe8 commit 4ce3443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shipjs/src/step/prepare/createPullRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default ({
8383
return {};
8484
}
8585
const pullRequestTitle = message.split('\n')[0].trim();
86-
const pr = silentExec(`hub pr list --format="%I %t"`, { dir })
86+
const pr = silentExec(`hub pr list --format="%I %t%n"`, { dir })
8787
.toString()
8888
.trim()
8989
.split('\n')

0 commit comments

Comments
 (0)