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

check: true requires write: false #103

Open
glasser opened this issue Mar 26, 2024 · 0 comments
Open

check: true requires write: false #103

glasser opened this issue Mar 26, 2024 · 0 comments
Assignees

Comments

@glasser
Copy link

glasser commented Mar 26, 2024

📝 Brief description

The docs for write say "Disabled if using check", but if you pass check: true without write: false you will end up with something like this:

Inputs:
  list: false
  write: true
  ignore: 
  diff: true
  check: true
  recursive: true
  dir: 

=> Searching for .hcl files
Error, -check and -write=true cannot be used together

because the default write:true gets passed down to the script.

I would expect based on the README that it would be fine to specify check: true without mentioning write.

@ChristophShyper ChristophShyper self-assigned this Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants