Skip to content

Commit 01d10df

Browse files
authored
chore(git-node): improve instructions logs when manual amending is required (#560)
1 parent 62f266f commit 01d10df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/landing_session.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,10 @@ export default class LandingSession extends Session {
436436

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

0 commit comments

Comments
 (0)