Unverified Commit 3373a404 authored by Jim Graham's avatar Jim Graham Committed by GitHub

print checksum differences when detected by --verify-only (#58064)

parent 9d7116cd
...@@ -196,8 +196,9 @@ class UpdatePackagesCommand extends FlutterCommand { ...@@ -196,8 +196,9 @@ class UpdatePackagesCommand extends FlutterCommand {
// If the checksum doesn't match, they may have added or removed some dependencies. // If the checksum doesn't match, they may have added or removed some dependencies.
// we need to run update-packages to recapture the transitive deps. // we need to run update-packages to recapture the transitive deps.
globals.printError( globals.printError(
'Warning: pubspec in ${directory.path} has invalid dependencies. ' 'Warning: pubspec in ${directory.path} has updated or new dependencies. '
'Please run "flutter update-packages --force-upgrade" to update them correctly.' 'Please run "flutter update-packages --force-upgrade" to update them correctly '
'(checksum ${pubspec.checksum.value} != $checksum).'
); );
needsUpdate = true; needsUpdate = true;
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment