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:
morluto authored and GitHub committed 2026-11-15 20:21:04 +08:00
1 parent ce9bdc526a
commit 97ffa67f84
7 files changed
+23 -17

No files matched your search

+4 -1
View File
@@ -1269,7 +1269,10 @@ const privateProfileCurrent = async (
): Promise<boolean> =>
client.privateProfile === undefined ||
(original !== undefined &&
(await privateProfileModesCurrent(client.configPath)));
(await privateProfileModesCurrent(
client.configPath,
HOST_PLATFORM.platform,
)));
const clientConfigurationDesired = async (
client: SetupClient,