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

Have to enter branch name twice in caprover cli #40

Open
tschut opened this issue Sep 18, 2019 · 5 comments
Open

Have to enter branch name twice in caprover cli #40

tschut opened this issue Sep 18, 2019 · 5 comments

Comments

@tschut
Copy link

tschut commented Sep 18, 2019

What is the problem?
Everytime I run caprover deploy I have to enter the cli asks for branch name twice. It's not a blocker or anything, just a small annoyance.

Steps to reproduce the problem:
Run caprover deploy. When asked to enter the branch name, I have to 'enter' twice. Doesn't matter if I type out the branch name or accept the default.
caprover-cli

Answers to the following questions where applicable:
Windows 10, Node 10.13.0, happens in cmd and powershell.

@Hazzard17h
Copy link
Contributor

From the gif, it seems that the branch line is repeated, but the answer is already present after it was first entered.
Anyway, I think this could be an issue caused by running the CLI with powershell/cmd, because the inquirer tool is not fully windows compatible.

@tschut
Copy link
Author

tschut commented Sep 30, 2019

I see the same behaviour when running carpover deploy -t x.tar, but on the question ? are you sure you want to deploy? (Y/n)

@Hazzard17h
Copy link
Contributor

Very strange behavior...

@githubsaturn githubsaturn transferred this issue from caprover/caprover Nov 4, 2019
@dmwyatt
Copy link

dmwyatt commented Jul 30, 2020

Is it possible that this is also causing caprover deploy --default to not work on Windows in cmd or powershell? It just freezes after "Ensuring authentication...", but IIRC I've used it successfully from Linux boxes.

@essenciary
Copy link

The issue is still present, branch name is asked twice (second time without a prompt)
image

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

No branches or pull requests

4 participants