Skip to content

carriage return char in tsc-bundle script breaks in linux #19

Open
@damonsmith

Description

@damonsmith

In the latest release of typescript-bundle the script tsc-bundle has a \r char - a DOS carriage return character at the end of the
#!/usr/env/node
line, which means it fails in linux with an unexpected char error.

/usr/bin/env: ‘node\r’: No such file or directory

I can fix this locally running dos2unix node_modules/typescript-bundle/tsc-bundle
and then everything works fine. The \r isn't in the source version of the script so I can't put a PR in for it unfortunately.

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