nw-builder 4.2.0 → 4.2.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.
- package/package.json +1 -1
- package/src/nwbuild.js +1 -1
package/package.json
CHANGED
package/src/nwbuild.js
CHANGED
|
@@ -98,7 +98,7 @@ const nwbuild = async (options) => {
|
|
|
98
98
|
options = await parse(options, manifest);
|
|
99
99
|
|
|
100
100
|
if (options.mode !== "get") {
|
|
101
|
-
files = await getFiles(options.srcDir);
|
|
101
|
+
files = options.glob ? await getFiles(options.srcDir) : options.srcDir;
|
|
102
102
|
manifest = await getManifest(files, options.glob);
|
|
103
103
|
if (typeof manifest?.nwbuild === "object") {
|
|
104
104
|
options = manifest.nwbuild;
|