Fix Flipper lints #12
Reviewed By: timur-valiev Differential Revision: D31932981 fbshipit-source-id: 4cf905495494466462c0494116f56cd16773e549
This commit is contained in:
committed by
Facebook GitHub Bot
parent
898cadad2d
commit
1b5cd3d2d5
@@ -50,7 +50,7 @@ async function entryPointForPluginFolder(
|
||||
pluginsDir: string,
|
||||
): Promise<{[key: string]: InstalledPluginDetails}> {
|
||||
pluginsDir = expandTilde(pluginsDir);
|
||||
if (!fs.existsSync(pluginsDir)) {
|
||||
if (!(await fs.pathExists(pluginsDir))) {
|
||||
return {};
|
||||
}
|
||||
return await fs
|
||||
|
||||
Reference in New Issue
Block a user