Skip to content

Commit d6102fa

Browse files
committed
fixup! feat(git-node): suggest abort previous session
1 parent 5deee7a commit d6102fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/git/land.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ async function main(state, argv, cli, dir) {
201201
const response = await cli.prompt('Do you want to abort it?', { defaultAnswer: false });
202202
if (!response) throw new Error('Please run `git node land --abort`');
203203
await session.abort();
204+
session = new LandingSession(cli, req, dir, argv);
204205
}
205-
session = new LandingSession(cli, req, dir, argv);
206206
const metadata = await getMetadata(session.argv, argv.skipRefs, cli);
207207
if (argv.backport) {
208208
const split = metadata.metadata.split('\n')[0];

0 commit comments

Comments
 (0)