code-web: use async glob

pull/99763/head^2
Martin Aeschlimann 2020-06-08 22:05:00 +02:00
parent 381d8c29c6
commit f351885fc6
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ async function initialize() {
if (packageJSON.browser) {
packageJSON.main = packageJSON.browser;
const webpackConfigLocations = glob.sync(
const webpackConfigLocations = await util.promisify(glob)(
path.join(EXTENSIONS_ROOT, extensionFolder, '**', 'extension-browser.webpack.config.js'),
{ ignore: ['**/node_modules'] }
);