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
@@ -7,6 +7,9 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
// Heavy use of nested promises but without sacrificing error propagation.
|
||||
/* eslint-disable promise/no-nesting */
|
||||
|
||||
import path from 'path';
|
||||
import fs from 'fs-extra';
|
||||
import {promisify} from 'util';
|
||||
@@ -205,7 +208,7 @@ export async function moveInstalledPluginsFromLegacyDir() {
|
||||
`Failed to load plugin from ${dir} on moving legacy plugins. Removing it.`,
|
||||
err,
|
||||
);
|
||||
fs.remove(dir);
|
||||
await fs.remove(dir);
|
||||
return null;
|
||||
}),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user