Skip to content

Top level comments are dropped during auto-formatting #260

@iwahbe

Description

@iwahbe

What happened?

I was trying to comment my a env I was creating, and my comment got eaten. Experimentation shows that the comment only persists if it is attached to an item.

Example

Repro.mp4

Output of pulumi about

NA

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSome behavior is incorrect or out of spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions