Closed michalbundyra closed 5 years ago
I ran into this issue today. A work around until fixed is to add the remote argument:
--remote=zendframework
I figured out what's happening.
A ChoiceQuestion
returns the index of the choice, not the value. As such, I was using the wrong value for the remote when chosen by prompt.
Pushing a PR momentarily.
Bug Report
Summary
Remotes are not detected and choosing abort try to push "to abort". My remotes are correct:
On v1 I've seen option origin and zendframework, but selecting doesn't work as I was getting error "pushing to 0" or "pushing to 1" (so the option number was used instead of the value).
In v2 there is the same issue, but also remotes are not recognised.
Current behaviour
Using version 2.1:
Using the latest v1 (remotes are detected correctly):
and:
How to reproduce
My configuration (v2):
Expected behaviour