Skip to content

Commit f351885

Browse files
committed
code-web: use async glob
1 parent 381d8c2 commit f351885

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/serverless/code-web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async function initialize() {
8181
if (packageJSON.browser) {
8282
packageJSON.main = packageJSON.browser;
8383

84-
const webpackConfigLocations = glob.sync(
84+
const webpackConfigLocations = await util.promisify(glob)(
8585
path.join(EXTENSIONS_ROOT, extensionFolder, '**', 'extension-browser.webpack.config.js'),
8686
{ ignore: ['**/node_modules'] }
8787
);

0 commit comments

Comments
 (0)