Skip to content

Commit caee3c5

Browse files
authored
fix(git-node): include full URL in suggested gh command (#1002)
1 parent ea17768 commit caee3c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/landing_session.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,8 @@ export default class LandingSession extends Session {
464464
const url = `https://github.com/${owner}/${repo}/pull/${prid}`;
465465
cli.log(`2. Post "Landed in ${willBeLanded}" in ${url}`);
466466
if (isGhAvailable()) {
467-
cli.log(` gh pr comment ${prid} --body "Landed in ${willBeLanded}"`);
468-
cli.log(` gh pr close ${prid}`);
467+
cli.log(` gh pr comment ${url} --body "Landed in ${willBeLanded}"`);
468+
cli.log(` gh pr close ${url}`);
469469
}
470470
}
471471

0 commit comments

Comments
 (0)