mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Make the code for updating Dart dependencies easier to follow by splitting the logic into helper functions, adding comments and tweaking logic slightly. Make it handle all *_git variables uniformly instead of hardcoding specific ones. Make it handle the case where *_git variable does not exist without emitting incorrect result. Add a unit test to make it simpler to check that script does reasonable things for all different inputs.