Skip to content

Commit 233a036

Browse files
committed
error message "expected ref to start with"
1 parent 0b30911 commit 233a036

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/src/buildTypeScript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if (!isCustomCommitRange) {
5656
if (isPR) {
5757
// This is a PR run. Pull the branch info from the PR.
5858
const prefix = "refs/pull/";
59-
assert(ref.startsWith(prefix), `Expected ref to start with ${prefix}`);
59+
assert(ref.startsWith(prefix), `Expected ref to start with ${prefix}, instead got ${ref}`);
6060

6161
if (args.baseline) {
6262
const prNumber = ref.slice(prefix.length).split("/")[0];

0 commit comments

Comments
 (0)