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

Make it easier to override execute action's safety check #75

Open
briandominick opened this issue Apr 10, 2019 · 0 comments
Open

Make it easier to override execute action's safety check #75

briandominick opened this issue Apr 10, 2019 · 0 comments
Labels

Comments

@briandominick
Copy link
Collaborator

When a config containing any shell command (execute action) is triggered without the use of the --unsafe flag, a CLI interrogative interrupts the routine with a warning and asks, Do you approve? (YES/no):. This should be more like Do you approve? (y/N).

Use something like answer.strip.match(/[y|Y|yes|YES]/) to reject everything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant