Skip to content

Commit

Permalink
Don't report issues when using --trace
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jun 7, 2024
1 parent bcb5e93 commit d8e9719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/knip/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const run = async () => {
isRemoveFiles,
});

if (isWatch) return;
if (isWatch || isTrace) return;

const initialData: ReporterOptions = {
report,
Expand Down

0 comments on commit d8e9719

Please sign in to comment.