npm-pkgbuild 10.20.3 → 10.20.4
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
|
@@ -112,6 +112,10 @@ export async function* extractFromPackage(options = {}, env = {}) {
|
|
|
112
112
|
: packageContent.pkgbuild
|
|
113
113
|
? [packageContent.pkgbuild]
|
|
114
114
|
: []) {
|
|
115
|
+
if (modulePath.length > 0 && !pkgbuild.variant) {
|
|
116
|
+
continue;
|
|
117
|
+
}
|
|
118
|
+
|
|
115
119
|
const requires = pkgbuild.requires;
|
|
116
120
|
delete pkgbuild.requires;
|
|
117
121
|
|