Skip to content

Suggestion: replace uses of os.EOL with grunt.util.linefeed #199

@DavidRigglemanININ

Description

@DavidRigglemanININ

Currently, this plugin uses os.EOL as the new line character when generating new files (such as in reference.ts). This can cause problems in cross platform development and in source control management as the generated reference files will be different depending on whether they were generated on Windows or Linux/Mac. Grunt has the ability to optionally specify the line feed character (still defaults to os.EOL) with grunt.util.linefeed (gruntjs/grunt-contrib-concat#20). To take advantage of this, all you would need to do is update the references to os.EOL. I can do this work and create a pull request, but I want to make sure you are OK with this before spending the time (there are 14 references throughout the entire code base)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions