mirror of
https://github.com/morluto/rea.git
synced 2026-11-19 13:12:26 +00:00
refactor(setup): require the platform in client-layer readers and private-profile helpers (#11074)
* refactor(setup): require the platform in client-layer readers and private-profile helpers * refactor(setup): drop the client-layer readers' unused host import
This commit is contained in:
1 parent
ce9bdc526a
commit
97ffa67f84
7 files changed
+23
-17
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { RegularFileCleanupFailure } from "../filesystem/OwnedRegularFile.js";
|
||||
import { HOST_PLATFORM } from "../platform/HostPlatform.js";
|
||||
import { readClientPolicyBlock } from "./GeminiClientSettings.js";
|
||||
import {
|
||||
inlineRegistrationOrigins,
|
||||
@@ -165,7 +166,7 @@ export const readClientRegistrationInspections = async (
|
||||
const inspections: ClientRegistrationInspection[] = [];
|
||||
for (const client of await resolveSupportedClients(
|
||||
home,
|
||||
options.platform,
|
||||
options.platform ?? HOST_PLATFORM.platform,
|
||||
options.environment,
|
||||
options.systemPaths,
|
||||
)) {
|
||||
|
||||
Reference in new issue
Block a user