From 77810b6c35abacb0a558488a6111c93807a028d9 Mon Sep 17 00:00:00 2001 From: Sigurd Meldgaard Date: Mon, 6 Jan 2025 10:09:31 +0100 Subject: [PATCH] Update src/content/tools/pub/workspaces.md Co-authored-by: Marya <111139605+MaryaBelanger@users.noreply.github.com> --- src/content/tools/pub/workspaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/tools/pub/workspaces.md b/src/content/tools/pub/workspaces.md index b29637fa6a..f8b958032b 100644 --- a/src/content/tools/pub/workspaces.md +++ b/src/content/tools/pub/workspaces.md @@ -133,7 +133,7 @@ Therefore `pub get` will delete any `pubspec.lock` and If any directory between the workspace root and a workspace package contains a "stray" `pubspec.yaml` file that is not member of the workspace, `pub get` will -report an error and fail to resolve, as resolving such a `pubspec.yaml` would +report an error and fail to resolve. This is because resolving such a `pubspec.yaml` would create a `.dart_tool/package_config.json` file that shadows the one at the root. For example: