You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a scenario under which resolution persistence does not actually persist a resolution selection. This occurs when depending directly upon a package that is also a second order dependency. If the branch on the first order dep is different than the second order dep, the persistence does not work.
Results
Expected
If bower prompts to persist a resolution to bower.json (see #532 ) and one is selected, that selection should be used after running
@satazor Thanks for the quick turnaround and good call on repo vs. branch; I should have isolated the issue better. I tested with the original repo that was giving me trouble and found an edge case. I put in a PR to your branch that fixes it.
Overview
There is a scenario under which resolution persistence does not actually persist a resolution selection. This occurs when depending directly upon a package that is also a second order dependency. If the branch on the first order dep is different than the second order dep, the persistence does not work.
Results
Expected
If bower prompts to persist a resolution to bower.json (see #532 ) and one is selected, that selection should be used after running
Actual
Bower persists to bower.json, but even then Bower again prompts about persistence on
bower install
Reproduction
Observe that although
custom
is persisted to bower.json, Bower keeps prompting for a manual resolution.Impact
Fix
Allow branch to be used as resolution property.
The text was updated successfully, but these errors were encountered: