Skip to content

Commit 884ee1d

Browse files
committed
Correct typo in setting upload base ref
1 parent a7f3c64 commit 884ee1d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/upload-lib.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/upload-lib.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/upload-lib.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export function buildPayload(
258258
const githubEvent = JSON.parse(
259259
fs.readFileSync(process.env.GITHUB_EVENT_PATH, "utf8")
260260
);
261-
payloadObj.base_ref = `refs/heads/$githubEvent.pull_request.base.ref`;
261+
payloadObj.base_ref = githubEvent.pull_request.base.ref;
262262
payloadObj.base_sha = githubEvent.pull_request.base.sha;
263263
}
264264
}

0 commit comments

Comments
 (0)