fix public release build failing for flipper-server

Summary: Fixed failing release build, see https://github.com/facebook/flipper/runs/4790065925?check_suite_focus=true.

Reviewed By: passy

Differential Revision: D33550553

fbshipit-source-id: ecbcfa77a29e1afb7815453bc53b66a46da9aa9f
This commit is contained in:
Michel Weststrate
2022-01-13 03:50:34 -08:00
committed by Facebook GitHub Bot
parent c233f3bf4a
commit bc606dc073

View File

@@ -192,7 +192,6 @@ async function copyStaticResources(outDir: string) {
// static folder, without the things that are only for Electron // static folder, without the things that are only for Electron
const staticsToCopy = [ const staticsToCopy = [
'facebook',
'icons', 'icons',
'native-modules', 'native-modules',
'PortForwardingMacApp.app', 'PortForwardingMacApp.app',
@@ -206,6 +205,9 @@ async function copyStaticResources(outDir: string) {
'index.web.html', 'index.web.html',
'style.css', 'style.css',
]; ];
if (isFB) {
staticsToCopy.push('facebook');
}
await Promise.all( await Promise.all(
staticsToCopy.map((e) => staticsToCopy.map((e) =>