Skip to content

Line separator should be considered to use os.EOL when AppendLine #21

Open
@NewGyu

Description

@NewGyu

Current implementation is the following.

    public AppendLine(value: string) {
        this.Values.push('\r\n' + value);
    }

On Windows, the line separator \r\n is correct, but it is not correct separator on Linux/Mac. Could you consider to use os.EOL?

https://nodejs.org/api/os.html#os_os_eol

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