Skip to content

Commit fca87bc

Browse files
authored
Apply suggestion from @rvagg
1 parent 4f94ac3 commit fca87bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎branch-diff.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export async function branchDiff (branch1, branch2, options) {
5757
}
5858

5959
async function findMergeBase (repoPath, branch1, branch2) {
60-
const chunks = await spawnPromisified('git', ['merge-base', branch1, branch2], {
60+
const chunks = await spawnCollect('git', ['merge-base', branch1, branch2], {
6161
cwd: repoPath,
6262
stdio: ['ignore', 'pipe', 'inherit']
6363
}, stdout => stdout.toArray())

0 commit comments

Comments
 (0)