Skip to content

Commit 05f51bf

Browse files
chore: generate
1 parent aee552c commit 05f51bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/opencode/src/util/repository.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ export function validateRepositoryBranch(branch: string) {
204204
if (!/^[A-Za-z0-9/_.-]+$/.test(branch) || branch.startsWith("-") || branch.includes("..")) {
205205
throw new InvalidRepositoryBranchError({
206206
branch,
207-
message: "Branch must contain only alphanumeric characters, /, _, ., and -, and cannot start with - or contain ..",
207+
message:
208+
"Branch must contain only alphanumeric characters, /, _, ., and -, and cannot start with - or contain ..",
208209
})
209210
}
210211
}

0 commit comments

Comments
 (0)