Skip to content

Commit

Permalink
test: remove redundant fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Dec 18, 2023
1 parent 95c56ea commit 197d2b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const nwbuild = async (options) => {
// Parse options
options = await parse(options, manifest);

manifest = await util.getNodeManifest({ srcDir: srcDir, glob: glob });
manifest = await util.getNodeManifest({ srcDir: options.srcDir, glob: options.glob });
if (typeof manifest?.nwbuild === "object") {
options = manifest.nwbuild;
}
Expand Down
Empty file removed test/fixture/cacheDir/nw
Empty file.
2 changes: 1 addition & 1 deletion test/fixture/demo.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import nwbuild from "nw-builder";
import nwbuild from "../../src/index.js";

await nwbuild({
mode: "get",
Expand Down

0 comments on commit 197d2b5

Please sign in to comment.