Skip to content

Commit

Permalink
Merge pull request #439 from jneira/fix-path-spaces
Browse files Browse the repository at this point in the history
Fix wrapper call to get project ghc version in windows and spaces in path
  • Loading branch information
jneira authored Aug 25, 2021
2 parents bac6c56 + bedf3b8 commit 1306bc0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "haskell",
"displayName": "Haskell",
"description": "Haskell language support powered by the Haskell Language Server",
"version": "1.6.0",
"version": "1.6.1",
"license": "MIT",
"publisher": "haskell",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/hlsBinaries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async function getProjectGhcVersion(
// We execute the command in a shell for windows, to allow use .cmd or .bat scripts
const childProcess = child_process
.execFile(
wrapper,
getGithubOS() === 'Windows' ? `"${wrapper}"` : wrapper,
args,
{ encoding: 'utf8', cwd: dir, shell: getGithubOS() === 'Windows' },
(err, stdout, stderr) => {
Expand Down

0 comments on commit 1306bc0

Please # to comment.