Skip to content

Spurious blank line in yq v4.50.1 output #2572

@jandubois

Description

@jandubois

Using penultimate and latest versions of yq on macOS 26:

./yq_darwin_arm64 --version
yq (https://github.com/mikefarah/yq/) version v4.49.1./yq_darwin_arm64 .foo=42 <<<""
foo: 42yq --version
yq (https://github.com/mikefarah/yq/) version v4.50.1yq .foo=42 <<<""

foo: 42

This does not happen with -n:

yq -n .foo=42
foo: 42

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions