Kaynağa Gözat

chore: generate

opencode-agent[bot] 3 ay önce
ebeveyn
işleme
05f51bfe45
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      packages/opencode/src/util/repository.ts

+ 2 - 1
packages/opencode/src/util/repository.ts

@@ -204,7 +204,8 @@ export function validateRepositoryBranch(branch: string) {
   if (!/^[A-Za-z0-9/_.-]+$/.test(branch) || branch.startsWith("-") || branch.includes("..")) {
     throw new InvalidRepositoryBranchError({
       branch,
-      message: "Branch must contain only alphanumeric characters, /, _, ., and -, and cannot start with - or contain ..",
+      message:
+        "Branch must contain only alphanumeric characters, /, _, ., and -, and cannot start with - or contain ..",
     })
   }
 }