mirror of
https://github.com/flutter/flutter
synced 2024-10-13 19:52:53 +00:00
52e4214dbb
When running git update-packages, if the goldens repo is dirty, the flutter tool currently crashes and logs the failure from git pull. This adds a check for a dirty git client and emits a friendlier error message in the case where it's not clean, and avoid the crash by catching the NonZeroExitCode exception and rethrowing as toolExit instead. Fixes: https://github.com/flutter/flutter/issues/28915 |
||
---|---|---|
.. | ||
lib | ||
analysis_options.yaml | ||
pubspec.yaml |