Skip to content

Commit

Permalink
Correct typo in setting upload base ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Neatherway committed Jan 13, 2021
1 parent a7f3c64 commit 884ee1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/upload-lib.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/upload-lib.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/upload-lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export function buildPayload(
const githubEvent = JSON.parse(
fs.readFileSync(process.env.GITHUB_EVENT_PATH, "utf8")
);
payloadObj.base_ref = `refs/heads/$githubEvent.pull_request.base.ref`;
payloadObj.base_ref = githubEvent.pull_request.base.ref;
payloadObj.base_sha = githubEvent.pull_request.base.sha;
}
}
Expand Down

0 comments on commit 884ee1d

Please sign in to comment.