Skip to content
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

Blank line between block definition and first block element #101

Open
dylanlerch opened this issue Apr 11, 2022 · 0 comments
Open

Blank line between block definition and first block element #101

dylanlerch opened this issue Apr 11, 2022 · 0 comments

Comments

@dylanlerch
Copy link
Contributor

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 {
        ...
    }
}
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

No branches or pull requests

1 participant