File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1422,7 +1422,9 @@ async function runPackageInstallUpdate(params: {
14221422 OPENCLAW_UPDATE_IN_PROGRESS : "1" ,
14231423 [ UPDATE_DEFER_CONFIGURED_PLUGIN_INSTALL_REPAIR_ENV ] : "1" ,
14241424 [ UPDATE_PARENT_SUPPORTS_DOCTOR_CONFIG_WRITE_ENV ] : "1" ,
1425- OPENCLAW_COMPATIBILITY_HOST_VERSION : candidateHostVersion ,
1425+ ...( candidateHostVersion === null
1426+ ? { }
1427+ : { OPENCLAW_COMPATIBILITY_HOST_VERSION : candidateHostVersion } ) ,
14261428 } ,
14271429 timeoutMs : params . timeoutMs ,
14281430 progress : params . progress ,
Original file line number Diff line number Diff line change @@ -1487,7 +1487,9 @@ export async function runGatewayUpdate(opts: UpdateRunnerOptions = {}): Promise<
14871487 env : {
14881488 OPENCLAW_UPDATE_IN_PROGRESS : "1" ,
14891489 [ UPDATE_PARENT_SUPPORTS_DOCTOR_CONFIG_WRITE_ENV ] : "1" ,
1490- OPENCLAW_COMPATIBILITY_HOST_VERSION : candidateHostVersion ,
1490+ ...( candidateHostVersion === null
1491+ ? { }
1492+ : { OPENCLAW_COMPATIBILITY_HOST_VERSION : candidateHostVersion } ) ,
14911493 } ,
14921494 progress,
14931495 stepIndex : 0 ,
You can’t perform that action at this time.
0 commit comments