Skip to content

Commit 5a42a14

Browse files
committed
Add boolean flags to args definition in node plugin
1 parent eb0d16b commit 5a42a14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/knip/src/plugins/node/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const args = {
2727
positional: true,
2828
nodeImportArgs: true,
2929
resolve: ['test-reporter'],
30+
boolean: ['deprecation', 'experimental-strip-types', 'harmony', 'test-only', 'test', 'warnings', 'watch'],
3031
args: (args: string[]) => args.filter(arg => !/--test-reporter[= ](spec|tap|dot|junit|lcov)/.test(arg)),
3132
};
3233

0 commit comments

Comments
 (0)