Skip to content

rtrim result #4

@jklap

Description

@jklap

There are certainly jq operations that may introduce a trailing newline-- which, if the result is being used as a number or string (vs a json object), can cause problems.

It would seem that a trim() on the jqOutput before returning may be a clean solution with minimal impact as a json object being returned doesn't require a trailing newline either.

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