Skip to content

Commit

Permalink
chore(git-node): improve instructions logs when manual amending is re…
Browse files Browse the repository at this point in the history
…quired (#560)
  • Loading branch information
juanarbol authored Feb 23, 2023
1 parent 62f266f commit 01d10df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/landing_session.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,10 @@ export default class LandingSession extends Session {

if (!forceLand) {
cli.info('Please fix the commit message and try again.');
cli.log('Please manually ammend the commit message, by running\n' +
'`git commit --amend`\n' +
'Once commit message is fixed, finish the landing command running\n' +
'`git node land --continue`');
process.exit(1);
}
}
Expand Down

0 comments on commit 01d10df

Please sign in to comment.