Skip to content

Commit

Permalink
fix: suggestion command git land -> git-land
Browse files Browse the repository at this point in the history
  • Loading branch information
lundibundi committed Aug 14, 2020
1 parent 96b7b63 commit 458935a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/landing_session.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class LandingSession extends Session {
getRebaseSuggestion(subjects) {
const { upstream, branch } = this;
let command = `git rebase ${upstream}/${branch} -i`;
command += ' -x "git node land --amend"';
command += ' -x "git-node land --amend"';

const squashes = subjects.filter(
line => line.includes('fixup!') || line.includes('squash!'));
Expand Down Expand Up @@ -181,7 +181,7 @@ class LandingSession extends Session {
cli.log(`There are ${subjects.length} commits in the PR`);
cli.log('Please run the following commands to complete landing\n\n' +
`$ ${suggestion}\n` +
'$ git node land --continue');
'$ git-node land --continue');
}
}

Expand Down

0 comments on commit 458935a

Please sign in to comment.