Skip to content

Commit

Permalink
Update src/content/tools/pub/workspaces.md
Browse files Browse the repository at this point in the history
Co-authored-by: Marya <111139605+MaryaBelanger@users.noreply.github.com>
  • Loading branch information
sigurdm and MaryaBelanger authored Jan 6, 2025
1 parent 6cbce94 commit 8e15526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/tools/pub/workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ must have an SDK version constraint of `^3.6.0` or higher.

When you migrate an existing monorepo to use Pub workspaces, there will
be existing "stray" `pubspec.lock` and `.dart_tool/package_config.json` files
adjacent to each pubspec. These would shadow the `pubspec.lock` and
`.dart_tool/package_config.json` placed next to the root
adjacent to each pubspec. These shadow the `pubspec.lock` and
`.dart_tool/package_config.json` files placed next to the root.

Therefore `pub get` will delete any `pubspec.lock` and
`.dart_tool/package_config.json` located in directories between the root and
Expand Down

0 comments on commit 8e15526

Please sign in to comment.