amplify-education / python-hcl2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comments with unclosed quotation marks raise a parsing error

mikeurbanski1 opened this issue · comments

Example:

resource "aws_s3_bucket" "b" {
  bucket = "abc"
  # this comment has "an unclosed quote
}

Results in: ValueError: Line has unclosed quote marks: # this comment has "an unclosed quote

Apologies, I opened this without realize the issue was in our own fork :|