Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shebang at top of javascript files is not preserved #72

Open
BrianSipos opened this issue Feb 16, 2023 · 0 comments
Open

Shebang at top of javascript files is not preserved #72

BrianSipos opened this issue Feb 16, 2023 · 0 comments

Comments

@BrianSipos
Copy link

I have a project with some javascript entrypoints containing a top line of

#!/usr/bin/env node

which seems to be a common (but maybe not well specified) extension to allow shell shebang lines with javascript. I can point to examples of use in many NPM packages, but it seems like this is a node ability to handle and not an ECMAScript standard ability.

It would be good if the licenseheaders tool preserved these top line shebangs the same way they are preserved for shell, python, etc. types of files when inserting the copyright header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant