Skip to content

Blank line between block definition and first block element #101

@dylanlerch

Description

@dylanlerch

If a block only has block as children, a blank line is written before that first block. It looks something like this:

step "Run a Script" {

    action {
        ...
    }
}

This is minor, but it would be good to remove this to keep files a little more compact. We would still want to keep this newline between any attributes and the first block (like shown below), but if there are no attributes the block should start on the first line.

step "Run a Script" {
    properties = {
        Octopus.Action.TargetRoles = "Cloud"
    }

    action {
        ...
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions