Remove remaing from 'os' imports

Summary: Per title.

Reviewed By: passy

Differential Revision: D32721206

fbshipit-source-id: 9e465d0ed60c0c6da33c462aa76468faac620626
This commit is contained in:
Michel Weststrate
2021-12-08 04:25:28 -08:00
committed by Facebook GitHub Bot
parent 2480ed30c5
commit 2b4981c7cb
3 changed files with 11 additions and 6 deletions

View File

@@ -7,13 +7,13 @@
* @format
*/
import os from 'os';
import {VersionCheckResult} from '../chrome/UpdateIndicator';
import {getRenderHostInstance} from '../RenderHost';
const updateServer = 'https://www.facebook.com/fbflipper/public/latest.json';
const getPlatformSpecifier = (): string => {
switch (os.platform()) {
switch (getRenderHostInstance().serverConfig.environmentInfo.os.platform) {
case 'win32':
return 'windows';
case 'linux':