errata-ai / vale

:pencil: A markup-aware linter for prose built with speed and extensibility in mind.

Home Page:https://vale.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vale 3.0.5 treats vocabulary slightly different when installed from Brew versus GitHub release artifacts

karl-johan-grahn opened this issue · comments

Check for existing issues

  • Completed

Environment

vale version 3.0.5 on macOS

Describe the bug / provide steps to reproduce it

My vocabulary contains:

vpn
VPN

Sample content:

Here is some text containing the word VPN.

I install vale locally using brew:

$ brew install vale
$ vale -v
vale version 3.0.5

I then get this error for the above content:

$ vale content
...
error  Use 'vpn' instead of 'VPN'.  Vale.Terms

When I run vale via GitHub actions I install vale via:

$ wget https://github.com/errata-ai/vale/releases/download/v3.0.5/vale_3.0.5_Linux_64-bit.tar.gz -O vale.tar.gz
$ tar -xvzf vale.tar.gz vale

When the GitHub workflow runs, it does not return this error, it expects vpn to be spelled VPN.

Any clue why the difference in error handling between brew vale and the GitHub release artifact?