Skip to content

Commit 5d0fc8d

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

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
@@ -189,7 +189,7 @@ async function main(state, argv, cli, dir) {
189189
cli.warn(
190190
'Failed to detect previous session. ' +
191191
'please run `git node land --abort`');
192-
process.exitCode ||= 1;
192+
cli.setErrorCode(1);
193193
return;
194194
}
195195

0 commit comments

Comments
 (0)