You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuring your git : configuring-git-to-handle-line-endings.
And also making /bin/cli.js a real executable (by convention it should be /bin/cli, without file extension)
The text was updated successfully, but these errors were encountered:
Hi @Badisi, thank you for reporting the issue and suggested fixes.
I will fix the line endings asap. I do however prefer to keep the .js extension for cli.js to allow it to be properly identified by editors and so on, I don't think it should cause a problem.
Issue
I've been trying your package on macOS and got the following issue:
It relates to the file
/bin/cli.js
that is using CRLF line endings.=> CRLF are a Windows thing whereas Unix/macOS are using LF.
npm seems to auto fix it depending on the OS : npm/npm#12371
yarn (which I'm using..) doesn't : yarnpkg/yarn#5480
Possible workaround
Configuring your git : configuring-git-to-handle-line-endings.
And also making
/bin/cli.js
a real executable (by convention it should be/bin/cli
, without file extension)The text was updated successfully, but these errors were encountered: