From 713a605a9353bb973b11afa2bea4bf552104fc72 Mon Sep 17 00:00:00 2001 From: Miorel-Lucian Palii Date: Sat, 19 Oct 2024 10:51:42 -0700 Subject: [PATCH] Small confusion in `foreach`: include -> exclude --- packages/plugin-workspace-tools/sources/commands/foreach.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-workspace-tools/sources/commands/foreach.ts b/packages/plugin-workspace-tools/sources/commands/foreach.ts index 47668fc447c8..36aeb988b083 100644 --- a/packages/plugin-workspace-tools/sources/commands/foreach.ts +++ b/packages/plugin-workspace-tools/sources/commands/foreach.ts @@ -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; }