Skip to content

Commit

Permalink
Fix final tests
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Nov 24, 2021
1 parent 656a74f commit c50946e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/examples/wrap-plop/index.js
@@ -1,8 +1,7 @@
#!/usr/bin/env node
import path from "node:path";
import minimist from "minimist";
// Test has same results with or without instrumentation
import { Plop, run } from "../../../src/plop.js";
import { Plop, run } from "../../../instrumented/src/plop.js";

const args = process.argv.slice(2);
const argv = minimist(args);
Expand All @@ -14,7 +13,7 @@ Plop.launch(
{
cwd: argv.cwd,
// In order for `plop` to always pick up the `plopfile.js` despite the CWD, you must use `__dirname`
configPath: path.join(__dirname, "plopfile.js"),
configPath: path.join(__dirname, "plopfile.cjs"),
require: argv.require,
completion: argv.completion,
// This will merge the `plop` argv and the generator argv.
Expand Down
File renamed without changes.

0 comments on commit c50946e

Please sign in to comment.