builder: skip OpenCode verification when OPENCODE_REQUIRE_REPO=false

This commit is contained in:
southseact-3d
2026-02-10 19:09:22 +00:00
parent bc45e3f964
commit 8b96273f47

View File

@@ -5357,6 +5357,10 @@ function verifyOpencodeCli(cliCommand) {
} }
function verifyOpencodeSetup(cliCommand) { function verifyOpencodeSetup(cliCommand) {
if (!OPENCODE_REQUIRE_REPO) {
log('OpenCode verification skipped (OPENCODE_REQUIRE_REPO=false)');
return;
}
if (opencodeVerificationCache.checked) { if (opencodeVerificationCache.checked) {
if (opencodeVerificationCache.error) throw opencodeVerificationCache.error; if (opencodeVerificationCache.error) throw opencodeVerificationCache.error;
return; return;