Skip to content

Commit c7fa478

Browse files
authored
Update landing_session.js
1 parent 3a4eca3 commit c7fa478

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
@@ -84,11 +84,11 @@ export default class LandingSession extends Session {
8484
}
8585

8686
async downloadAndPatch() {
87-
const { cli, repo, owner, prid, expectedCommitShas } = this;
87+
const { cli, upstream, prid, expectedCommitShas } = this;
8888

8989
cli.startSpinner(`Downloading patch for ${prid}`);
9090
await runAsync('git', [
91-
'fetch', `https://github.com/${owner}/${repo}.git`,
91+
'fetch', upstream,
9292
`refs/pull/${prid}/merge`]);
9393
// We fetched the commit that would result if we used `git merge`.
9494
// ^1 and ^2 refer to the PR base and the PR head, respectively.

0 commit comments

Comments
 (0)