Skip to content

Extra newlines in saw get output #74

@a-h

Description

@a-h

There's an extra newline if your log entries already end with a newline.

image

I notice that if you're streaming logs, the newline gets stripped.

https://github.com/TylerBrock/saw/blob/master/blade/blade.go#L146-L147

Easy fix though.

a-h@21e6320

Then gives the expected output.

image

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