Open franciscolourenco opened 10 years ago
@aristidesfl hmm… I'm not sure how conflicts should really be handled for this. You could prompt for user input, but I almost think that we should defer to the CLI for such an action?
Even if we want to defer to CLI and notify the user, we still need the hack or something else to be able to distinguish a conflict from a random exception.
Have you tried it out? It's just a confirmation dialog with an Ok Cancel dialog..
I haven't given it a run yet, but as far as I can tell, but I think that “OK” or “Cancel” aren't really the answer to the question… ?
To be more precise it's actually something like this:
Ah cool @aristidesfl ! Have you tested this in ST2 & 3?
I just did a few tests in ST2 and it seems to be working as fine as in ST3
Left one ugly hack in bower/utils/cli.py in order to be able to handle package dependency conflicts. Suggestions on a better way to handle exceptions in this case?