Skip to content
This repository was archived by the owner on Jan 3, 2025. It is now read-only.
This repository was archived by the owner on Jan 3, 2025. It is now read-only.

in devel changed new line behavior results in not working linting #77

@RSDuck

Description

@RSDuck

Since nim-lang/Nim@80caca1 \n results in a single line feed character and not in the platform specific new line character anymore. Therefore the os.EOL in

var ret = callback(out.split(os.EOL));
isn't splitting the(now by single line feeds seperated) text on Windows anymore, which breaks the linting using nim check.

For compability the best thing would probably be to split both by os.EOL and \n if os.EOL != \n. What do you think about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions