sb-mig 5.5.0 → 5.5.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -49,7 +49,7 @@ export const compare = (request) => {
|
|
|
49
49
|
// 1. check if the file has node_modules > 1
|
|
50
50
|
const nodeModulesCount = (file.p.match(/node_modules/g) || [])
|
|
51
51
|
.length;
|
|
52
|
-
return nodeModulesCount
|
|
52
|
+
return nodeModulesCount <= 1;
|
|
53
53
|
});
|
|
54
54
|
// we only want to modify external array, because we want sometimes remove stuff which are already on local (overwrite node_modules ones)
|
|
55
55
|
const result = {
|