Skip to content

Commit

Permalink
fix(cli): invert is set to false by default
Browse files Browse the repository at this point in the history
  • Loading branch information
gmickel committed Jul 21, 2024
1 parent 535a95f commit 4050f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/interactive-filtering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function interactiveMode(options: InteractiveModeOptions) {

const userFilters = options.filter || [];

const selectedFiles = await selectFiles(basePath, options.invert);
const selectedFiles = await selectFiles(basePath, options.invert ?? false);

// Combine user filters with selected files
const combinedFilters = [...new Set([...userFilters, ...selectedFiles])];
Expand Down

0 comments on commit 4050f59

Please sign in to comment.