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

horusec-cli default flag #88

Closed
fguisso opened this issue Oct 25, 2020 · 2 comments
Closed

horusec-cli default flag #88

fguisso opened this issue Oct 25, 2020 · 2 comments
Labels
kind/bug Something isn't working

Comments

@fguisso
Copy link
Contributor

fguisso commented Oct 25, 2020

What happened:

The folder selected is: [/home/my_project_folder]. Proceed? [Y/n]: YY
ERRO[0001] {HORUSEC_CLI} Error when ask if can run prompt question  error="{HORUSEC_CLI} Operation was canceled by user"
Error: {HORUSEC_CLI} Operation was canceled by user

What you expected to happen:
The command UI can't set the option, just accept a new option or choose deafult method when no options is setted.

How to reproduce it (as minimally and precisely as possible):
just make install and horusec start in my project.

Anything else we need to know?:
Probably something is wrong with the Command UI pkg.

Environment:

  • Horusec version (use horusec version): 1.4.0
  • Operating System: Arch Manjaro
@fguisso fguisso added the kind/bug Something isn't working label Oct 25, 2020
@wiliansilvazup
Copy link
Contributor

Thanks for the report @fguisso !
Since what happened the reason was why we already put the letter Y by default in case you added one more Y getting "YY" as an answer.
We are going to open a correction to improve the treatment, until the merge is carried out, please check if you can use the Horusec with just one letter in the answer.

@wiliansilvazup
Copy link
Contributor

Fixed on PR #124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants