We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9c8419 commit 748480bCopy full SHA for 748480b
branchSequencer.ts
@@ -342,8 +342,6 @@ export const branchSequencer: BranchSequencer = async ({
342
343
const originalBoundariesLength: number = branchesAndCommits.length;
344
345
- const latestBoundary: SimpleBranchAndCommit = branchesAndCommits[branchesAndCommits.length - 1];
346
-
347
if (reverseCheckoutOrder) {
348
branchesAndCommits.reverse();
349
}
@@ -359,7 +357,7 @@ export const branchSequencer: BranchSequencer = async ({
359
357
*/
360
358
361
// await repo.checkoutBranch(latestBoundary.branchEndFullName);
362
- execSyncInRepo(`${gitCmd} checkout ${latestBoundary.branchEndFullName}`);
+ execSyncInRepo(`${gitCmd} checkout ${currentBranch.shorthand()}`);
363
364
return;
365
0 commit comments