npm-pkgbuild 7.19.4 → 7.19.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "7.19.4",
3
+ "version": "7.19.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -115,7 +115,9 @@ export async function extractFromPackage(pkg, dir) {
115
115
  };
116
116
 
117
117
  await packageWalker(async (pkg, base, modulePath) => {
118
- processPkg(pkg, base);
118
+ if (modulePath.length > 0) {
119
+ processPkg(pkg, base);
120
+ }
119
121
  return true;
120
122
  }, dir);
121
123
 
@@ -67,10 +67,6 @@ program
67
67
  pkgDir
68
68
  );
69
69
 
70
- if (options.verbose) {
71
- console.log(`sources: ${sources}`);
72
- }
73
-
74
70
  for (const inputFactory of allInputs.filter(
75
71
  inputFactory => options[inputFactory.name] === true
76
72
  )) {