Skip to content

Commit af3434b

Browse files
mdebbarmatanlurey
andauthored
Update few links in docs (flutter#172166)
Co-authored-by: Matan Lurey <[email protected]>
1 parent 0d2ad23 commit af3434b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/infra/Updating-dependencies-in-Flutter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Instead of manually updating dependencies in a `pubspec.yaml` file, use the [`update-packages`](packages/flutter_tools/lib/src/commands/update_packages.dart) CLI tool:
1+
Instead of manually updating dependencies in a `pubspec.yaml` file, use the [`update-packages`](/packages/flutter_tools/lib/src/commands/update_packages.dart) CLI tool:
22

33
## To update all dependencies:
44

@@ -8,7 +8,7 @@ Instead of manually updating dependencies in a `pubspec.yaml` file, use the [`up
88

99
Sometimes you need to prevent a dependency from being updated when you run `flutter update-packages --force-upgrade`.
1010

11-
In that case, first pin the dependency in [`kManuallyPinnedDependencies`](https://github.com/flutter/flutter/blob/5bd34ef541575eddae6aaa82fc76a59ae7e464c3/packages/flutter_tools/lib/src/update_packages_pins.dart#L17) and include a comment with a link to an issue to unpin the dependency.
11+
In that case, first pin the dependency in [`kManuallyPinnedDependencies`](/packages/flutter_tools/lib/src/update_packages_pins.dart) and include a comment with a link to an issue to unpin the dependency.
1212

1313
You can then re-run `flutter update-packages --force-upgrade`.
1414

0 commit comments

Comments
 (0)