mirror of
https://github.com/morluto/rea.git
synced 2026-11-15 19:23:24 +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
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user