-
Notifications
You must be signed in to change notification settings - Fork 6
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
fta-cli runs into line ending issue via bunx #130
Comments
Hey @fucksophie, we have e2e tests that test the built package on ubuntu and it seems to work ok. I also just tested on Ubuntu myself manually via Can you confirm how you are using fta & what OS this is happening on? |
As indicated in the issue report, this is Linux. The fta-cli index.js uses CRLFs, and this doesn't work on linux. You can see the bug in action here: https://git.sad.ovh/sophie/trillium/actions/runs/1 Sidenote: I am using bunx. |
Thanks. It looks like this is specific to Bun, not linux:
I'm not sure why bun has this problem and node doesn't |
Hello, this issue is really simple. Hopefully it's fixed soon.
The \r indicates that the shebang's newline is using CRLF's, which are opposite to Linux's LF's.
To fix this, you have to run
dos2unix ./node_modules/fta-cli/index.js
.The text was updated successfully, but these errors were encountered: