dart pub add retry
"retry" was found in dev_dependencies. Removing "retry" and adding it to dependencies instead.
Assertion failed: (package:yaml_edit) Modification did not result in expected result.
# YAML before edit:
> name: sample
> version: 0.1.0
> environment:
> sdk: ^3.0.0
> dependencies:
> retry: ^3.1.2
> dev_dependencies:
> retry:
# YAML after edit:
> name: sample
> version: 0.1.0
> environment:
> sdk: ^3.0.0
> dependencies:
> retry: ^3.1.2
> :
Please file an issue at:
https://github.com/dart-lang/yaml_edit/issues/new?labels=bug
package:yaml_edit/src/editor.dart 565:7 YamlEditor._performEdit
package:yaml_edit/src/editor.dart 432:5 YamlEditor.remove
package:pub/src/command/add.dart 722:24 AddCommand._updatePubspec
package:pub/src/command/add.dart 239:28 AddCommand.runProtected
This is an unexpected error. The full log and other details are collected in:
/usr/local/google/home/sigurdm/.pub-cache/log/pub_log.txt
Consider creating an issue on https://github.com/dart-lang/pub/issues/new
and attaching the relevant parts of that log file.
Reproduction:
No
pubspec.lock
.