@@ -174,7 +172,7 @@ class AnalyzeCommand extends FlutterCommand {
for(Stringpackageindependencies.keys){
if(packages.containsKey(package)){
if(packages[package]!=dependencies[package]){
_logging.warning('Inconsistent requirements for $package; using ${packages[package]} (and not ${dependencies[package]}).');
logging.warning('Inconsistent requirements for $package; using ${packages[package]} (and not ${dependencies[package]}).');
hadInconsistentRequirements=true;
}
}else{
...
...
@@ -185,9 +183,9 @@ class AnalyzeCommand extends FlutterCommand {
}
if(hadInconsistentRequirements){
if(argResults['flutter-repo'])
_logging.warning('You may need to run "dart ${path.normalize(path.relative(path.join(ArtifactStore.flutterRoot, 'dev/update_packages.dart')))} --upgrade".');
logging.warning('You may need to run "dart ${path.normalize(path.relative(path.join(ArtifactStore.flutterRoot, 'dev/update_packages.dart')))} --upgrade".');
if(foundAnyInCurrentDirectory)
_logging.warning('You may need to run "pub upgrade".');
logging.warning('You may need to run "pub upgrade".');