Skip to content

v4.53.4 forces line wrapping #2824

Description

@mxey

Describe the bug

The new release of yq enforces hard line wraps at line width 80 with no way to change it AFAICT.
IMO yq should continue to not hard wrap by default.

Version of yq: 4.53.4
Operating system: mac
Installed via: homebrew

Input Yaml
input.yaml:

field: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt

Command
The command you ran:

yq input.yaml

Actual behaviour

field: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
  tempor invidunt

Expected behaviour

field: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt

Additional context

This is caused by the bumping the library go.yaml.in/yaml/v4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions