Skip to content

Commit

Permalink
Update src/content/guides/packages.md
Browse files Browse the repository at this point in the history
Co-authored-by: Parker Lougheed <[email protected]>
  • Loading branch information
sigurdm and parlough authored Oct 3, 2024
1 parent 69ddc2f commit 18e1519
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/content/guides/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand Down

0 comments on commit 18e1519

Please sign in to comment.