mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
fix: resolveCodexImportMachineId fails with multiple online machines (#1147)
This commit is contained in:
@@ -931,7 +931,7 @@ function resolveCodexImportMachineId(
|
||||
const resolved = resolveImportMachineId(cwd, namespace, engine)
|
||||
if (resolved) return resolved
|
||||
}
|
||||
return onlineMachines.length === 1 ? onlineMachines[0].id : null
|
||||
return onlineMachines.length >= 1 ? onlineMachines[0].id : null
|
||||
}
|
||||
|
||||
function asRemoteCodexSessions(value: unknown, requireMessages: boolean): RemoteCodexSession[] {
|
||||
|
||||
Reference in New Issue
Block a user