diff --git a/lib/landing_session.js b/lib/landing_session.js index 3facf6b4..269f4d6a 100644 --- a/lib/landing_session.js +++ b/lib/landing_session.js @@ -62,8 +62,8 @@ export default class LandingSession extends Session { const shouldContinue = await cli.prompt( `This PR ${status} to land, do you want to continue?`, { defaultAnswer }); if (!shouldContinue) { - cli.setExitCode(1); - return this.abort(false); + await this.abort(false); + return process.exit(1); } this.saveMetadata(metadata);