ChrisChinchilla / vale-vscode

A Visual Studio Code extension for the Vale CLI.
https://marketplace.visualstudio.com/items?itemName=ChrisChinchilla.vale-vscode
MIT License
42 stars 5 forks source link

Fix for issue #33 #34

Closed hangie closed 5 months ago

hangie commented 6 months ago

This piece of code:

customPath = path.normalize(customPath);

If run on: ${workspaceFolder}/../venv/bin/vale would result in: venv/bin/vale

The normalize needs to be run after the expansion to achieve the correct result.

ChrisChinchilla commented 6 months ago

Ok, thanks @hangie I'll do some testing. This isn't a feature I use, but I know others use the binary locations quite a bit.