feat: refactoring project
This commit is contained in:
4
node_modules/webpack/lib/util/findGraphRoots.js
generated
vendored
4
node_modules/webpack/lib/util/findGraphRoots.js
generated
vendored
@@ -225,7 +225,7 @@ module.exports = (items, getDependencies) => {
|
||||
// When roots were found, return them
|
||||
if (roots.size > 0) {
|
||||
return Array.from(roots, r => r.item);
|
||||
} else {
|
||||
throw new Error("Implementation of findGraphRoots is broken");
|
||||
}
|
||||
|
||||
throw new Error("Implementation of findGraphRoots is broken");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user