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 c6d7d8b commit abab0b4Copy full SHA for abab0b4
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