Skip to content

Commit

Permalink
Small confusion in foreach: include -> exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
miorel authored Oct 19, 2024
1 parent 031b5da commit 713a605
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export default class WorkspacesForeachCommand extends BaseCommand {
}

if (this.exclude.length > 0 && (micromatch.isMatch(structUtils.stringifyIdent(workspace.anchoredLocator), this.exclude) || micromatch.isMatch(workspace.relativeCwd, this.exclude))) {
log(`Excluding ${workspace.relativeCwd} because it matches the --include filter`);
log(`Excluding ${workspace.relativeCwd} because it matches the --exclude filter`);
continue;
}

Expand Down

0 comments on commit 713a605

Please sign in to comment.