when plugins are out of date, show the command line to update (#13572)

This commit is contained in:
amirh
2017-12-14 10:34:35 -08:00
committed by GitHub
parent eb77d0140b
commit 81e2da9dd9

View File

@@ -518,6 +518,7 @@ Future<Null> _verifyGeneratedPluginRegistrants(String flutterRoot) async {
for (String registrant in outOfDate) {
print(' - $registrant');
}
print('\nRun "flutter inject-plugins" in the package that\'s out of date.');
print('$red━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━$reset');
exit(1);
}