Skip to content

Windows EOLs break shebang #1

@raphinesse

Description

@raphinesse

The tool does not work under Linux, because of the Windows-EOL characters:

$ node_modules/.bin/sync-version bower.json
/usr/bin/env: ‘node\r’: No such file or directory

As a general suggestion based on my own experience: only use Unix EOLs (LF) for code, ever.

I cannot file a PR with a fix, since the problem seems to be how the package is published on npm.
When I clone the repo on my Linux system, I get Unix EOLs.

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