Handle pubspec.yaml files with no dependencies (#17195)
Currently, `flutter update-packages --force-upgrade` will crash if it encounters a pubspec.yaml file with no dependencies (either regular or dev). The assumption that we'd never see such pubspec files is no longer valid, as we have such a file in one of our tests.
Showing
Please register or sign in to comment