diff --git a/lib/landing_session.js b/lib/landing_session.js index 38898c4..fc45c5e 100644 --- a/lib/landing_session.js +++ b/lib/landing_session.js @@ -255,15 +255,12 @@ class LandingSession extends Session { willBeLanded = `${head}...${willBeLanded}`; } + this.cleanFiles(); + cli.log('Temporary files removed'); cli.log('To finish landing:'); cli.log(`1. Run \`git push ${upstream} ${branch}\``); const url = `https://github.com/${owner}/${repo}/pull/${prid}`; cli.log(`2. Post "Landed in ${willBeLanded}" in ${url}`); - - const shouldClean = await cli.prompt('Clean up generated temporary files?'); - if (shouldClean) { - this.cleanFiles(); - } } async continue() {