Fix Github build (#914)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/914 Fixed Github build I accidentaly broke by a previous diff Reviewed By: mweststrate Differential Revision: D20581935 fbshipit-source-id: c14d7e0fe83af79069f8fef432833babf04c59f8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0b6b5a0582
commit
3cbeaf2642
@@ -100,7 +100,7 @@ export async function compileHeadless(buildFolder: string) {
|
|||||||
path.join(pluginsDir, 'fb', 'layout', 'sidebar_extensions'),
|
path.join(pluginsDir, 'fb', 'layout', 'sidebar_extensions'),
|
||||||
path.join(pluginsDir, 'fb', 'mobileconfig'),
|
path.join(pluginsDir, 'fb', 'mobileconfig'),
|
||||||
path.join(pluginsDir, 'fb', 'watch'),
|
path.join(pluginsDir, 'fb', 'watch'),
|
||||||
].filter(fs.pathExists);
|
].filter(fs.pathExistsSync);
|
||||||
try {
|
try {
|
||||||
await compile(
|
await compile(
|
||||||
buildFolder,
|
buildFolder,
|
||||||
@@ -122,7 +122,7 @@ export async function compileRenderer(buildFolder: string) {
|
|||||||
path.join(pluginsDir, 'fb', 'layout', 'sidebar_extensions'),
|
path.join(pluginsDir, 'fb', 'layout', 'sidebar_extensions'),
|
||||||
path.join(pluginsDir, 'fb', 'mobileconfig'),
|
path.join(pluginsDir, 'fb', 'mobileconfig'),
|
||||||
path.join(pluginsDir, 'fb', 'watch'),
|
path.join(pluginsDir, 'fb', 'watch'),
|
||||||
].filter(fs.pathExists);
|
].filter(fs.pathExistsSync);
|
||||||
try {
|
try {
|
||||||
await compile(
|
await compile(
|
||||||
buildFolder,
|
buildFolder,
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ async function startMetroServer(app: Express) {
|
|||||||
path.join(pluginsDir, 'fb', 'layout', 'sidebar_extensions'),
|
path.join(pluginsDir, 'fb', 'layout', 'sidebar_extensions'),
|
||||||
path.join(pluginsDir, 'fb', 'mobileconfig'),
|
path.join(pluginsDir, 'fb', 'mobileconfig'),
|
||||||
path.join(pluginsDir, 'fb', 'watch'),
|
path.join(pluginsDir, 'fb', 'watch'),
|
||||||
].filter(fs.pathExists);
|
].filter(fs.pathExistsSync);
|
||||||
const metroBundlerServer = await Metro.runMetro({
|
const metroBundlerServer = await Metro.runMetro({
|
||||||
projectRoot: appDir,
|
projectRoot: appDir,
|
||||||
watchFolders,
|
watchFolders,
|
||||||
|
|||||||
Reference in New Issue
Block a user