builder: skip OpenCode verification when OPENCODE_REQUIRE_REPO=false
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user