Add command to fetch new Flipper version
Summary: It is a copy-paste of what we have in jest-e2e Reviewed By: passy Differential Revision: D51527040 fbshipit-source-id: 36b62edee006580023e9ce2cd309dddfd0dbce84
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4477f3b550
commit
685a0e53d7
@@ -60,6 +60,7 @@ import {jfUpload} from './fb-stubs/jf';
|
||||
import path from 'path';
|
||||
import {movePWA} from './utils/findInstallation';
|
||||
import GK from './fb-stubs/GK';
|
||||
import {fetchNewVersion} from './fb-stubs/fetchNewVersion';
|
||||
|
||||
const {access, copyFile, mkdir, unlink, stat, readlink, readFile, writeFile} =
|
||||
promises;
|
||||
@@ -632,6 +633,7 @@ export class FlipperServerImpl implements FlipperServer {
|
||||
'move-pwa': async () => {
|
||||
await movePWA();
|
||||
},
|
||||
'fetch-new-version': fetchNewVersion,
|
||||
};
|
||||
|
||||
registerDevice(device: ServerDevice) {
|
||||
|
||||
10
desktop/flipper-server-core/src/fb-stubs/fetchNewVersion.tsx
Normal file
10
desktop/flipper-server-core/src/fb-stubs/fetchNewVersion.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
export const fetchNewVersion = async (): Promise<void> => {};
|
||||
Reference in New Issue
Block a user