Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] extension recommends updating when packages are newer #9

Closed
gcamp806 opened this issue Oct 21, 2020 · 1 comment · Fixed by #10
Closed

[BUG] extension recommends updating when packages are newer #9

gcamp806 opened this issue Oct 21, 2020 · 1 comment · Fixed by #10

Comments

@gcamp806
Copy link

If the packages in pubspec.yaml are more recent than what this plugin knows about, the plugin suggests the packages should be upgraded (which would actually be a downgrade).

Expected Behavior

If the packages in pubspec.yaml are newer, then the plugin should not display a warning

Current Behavior

bloc_test - please update to ^6.0.0
(however, the current version is ^7.0.6)
If the user clicks the "Update" button, then pubspec.yaml is downgrading the version and breaking other package dependencies.

Possible Solution

Ignore newer versions of the plugins

Steps to Reproduce

Open a project that uses newer versions of bloc, bloc_test, flutter_bloc

@KiritchoukC
Copy link
Owner

Hi @gcamp806,

I will look at this tomorrow and release a new version asap.

Thanks for raising this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants