Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow empty objects#59

Merged
aoskotsky-amplify merged 1 commit into
amplify-education:masterfrom
santoshankr:santosha/allow-empty-objects
Mar 4, 2021
Merged

Allow empty objects#59
aoskotsky-amplify merged 1 commit into
amplify-education:masterfrom
santoshankr:santosha/allow-empty-objects

Conversation

@santoshankr

Copy link
Copy Markdown

The following is valid HCL:

variable "foo" {
  type = map
  default = {
  }
}

Accept objects that contain newlines but no keys. Fixes #58

The following is valid HCL:

variable "foo" {
  type = map
  default = {
  }
}

Accept objects that contain newlines but no keys

@aoskotsky-amplify aoskotsky-amplify left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Thanks for the PR

@aoskotsky-amplify aoskotsky-amplify merged commit 46d77c0 into amplify-education:master Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error parsing empty blocks with newlines

2 participants