Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Remove pathExt argument
Browse files Browse the repository at this point in the history
See #17 for details.
  • Loading branch information
jdkato committed Aug 26, 2020
1 parent aa5ca37 commit e627295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "git",
"url": "https://github.com/errata-ai/vale-vscode.git"
},
"version": "0.10.1",
"version": "0.10.3",
"engines": {
"vscode": "^1.36.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/features/vsProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const readBinaryLocation = () => {
return path.normalize(customBinaryPath);
}
// Assume that the binary is installed globally
return which.sync("vale", { pathExt: ".cmd" });
return which.sync("vale");
};

const readFileLocation = () => {
Expand Down

0 comments on commit e627295

Please sign in to comment.