-
Notifications
You must be signed in to change notification settings - Fork 56
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
handle one line blocks as regular blocks #35
handle one line blocks as regular blocks #35
Conversation
Hi @jconstance-amplify , @aoskotsky-amplify |
Handle indexes of lists with more than 10 items
Handle dot index
Handle dot index
@@ -0,0 +1,67 @@ | |||
name: build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this shouldn't be in this pr, its unrelated to the functionality of the fix, ie. its switching ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep. My bad. After waiting to get this one merged I created a temporal fork. Would gladly drop it when if the other changes in the PR looks good to the maintainers.
@@ -1,5 +1,5 @@ | |||
{ | |||
"name": "python-hcl2", | |||
"name": "bc-python-hcl2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
your referencing your fork, instead of the upstream your contributing to.
@@ -35,7 +35,7 @@ def get_requirements(): | |||
|
|||
|
|||
setup( | |||
name='python-hcl2', | |||
name='bc-python-hcl2', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
your referencing your fork, instead of the upstream your contributing to.
Merged this as part of #45. Thanks for sending this PR! |
Parse one-line-blocks as regular blocks, so the parser's output for both types of blocks would be the same (values nested in lists)
Solves bridgecrewio/checkov#452
@aoskotsky-amplify