mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
refactor: remove promise on checkModule (#13318)
* refactor: remove promise on checkModule * refactor: use forEach instead of map for checkModule
This commit is contained in:
@@ -39,7 +39,7 @@ const check = async ({cwd, packages}) => {
|
||||
});
|
||||
};
|
||||
|
||||
await Promise.all(dependencies.map(checkModule));
|
||||
dependencies.forEach(checkModule);
|
||||
|
||||
if (invalidDependencies.length) {
|
||||
throw Error(
|
||||
|
||||
Reference in New Issue
Block a user