tbroadley / spellchecker-cli

A command-line tool for spellchecking files.
MIT License
119 stars 16 forks source link

Upgrade from 4.8.1 to 4.10.0 fails on non-windows machines #86

Closed Ellosaur closed 2 years ago

Ellosaur commented 2 years ago

Our dependabot opened a PR to perform the titular upgrade however the CI checks running on Git Hub actions execute the following script (via yarn) which fails:

 spellchecker -f [!CHANGELOG]*.md ./**/*.md -d .spelling -l en-GB
/usr/bin/env: ‘node\r’: No such file or directory

Executing the same command on windows works fine:

$ spellchecker -f [!CHANGELOG]*.md ./**/*.md -d .spelling -l en-GB
Spellchecking 2 files...

README.md: no issues found
./test/README.md: no issues found
tbroadley commented 2 years ago

Thank you for pointing this out! I've just published v4.10.1, which I believe fixes this issue. I tested the fix on Ubuntu through Windows Subsystem for Linux. Let me know if you're still having trouble.

Ellosaur commented 2 years ago

@tbroadley sorted thank you!