removeOverrides method

void removeOverrides()

Removes all of the dependency_overrides for each of the packages listed in the pubrelease_multi.yaml file.

Implementation

void removeOverrides() {
  pubspec
    ..dependencyOverrides = <String, Dependency>{}
    ..saveToFile(path);

  /// pause for a moment incase an IDE is monitoring the pubspec.yaml
  /// changes. If we move too soon the .dart_tools directory may not exist.
  sleep(2);
}