From 18e1519b0163302a0f2cb99b94573895a129e459 Mon Sep 17 00:00:00 2001 From: Sigurd Meldgaard Date: Thu, 3 Oct 2024 10:10:50 +0200 Subject: [PATCH] Update src/content/guides/packages.md Co-authored-by: Parker Lougheed --- src/content/guides/packages.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/guides/packages.md b/src/content/guides/packages.md index a513fc0010..3470e9d1b6 100644 --- a/src/content/guides/packages.md +++ b/src/content/guides/packages.md @@ -203,9 +203,9 @@ Downloading packages... + retry 3.1.2 ``` -Also if the hash of a published version does not match the hash in -`pubspec.lock`, `pub` will warn you, but fix `pubspec.lock` to reflect the -published version: +Also, if the [content hash](/tools/pub/glossary#content-hashes) of a +published package version differs from the hash in the `pubspec.lock` file, +`pub` will warn you and update the lockfile to reflect the published version: For example if we manually change a hash in `pubspec.lock`: