From 37a00aedec2ecd80337db74eb0f6123c05cc22a4 Mon Sep 17 00:00:00 2001 From: Dobes Vandermeer Date: Mon, 16 Jun 2025 17:34:37 -0700 Subject: [PATCH] Tweak workspaces run doc to clarify gotcha with global scripts --- 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 946185c75357..aa0393d2e6af 100644 --- a/packages/plugin-workspace-tools/sources/commands/foreach.ts +++ b/packages/plugin-workspace-tools/sources/commands/foreach.ts @@ -44,7 +44,7 @@ export default class WorkspacesForeachCommand extends BaseCommand { The \`-v,--verbose\` flag can be passed up to twice: once to prefix output lines with the originating workspace's name, and again to include start/finish/timing log lines. Maximum verbosity is enabled by default in terminal environments. - If the command is \`run\` and the script being run does not exist the child workspace will be skipped without error. + If the command is \`run\` and the script being run does not exist the child workspace will be skipped without error. Note that [global scripts](https://yarnpkg.com/features/workspaces#global-scripts) are considered to exist on all workspaces. `, examples: [[ `Publish all packages`,