Skip to content

Commit 8db5370

Browse files
committed
Fix launching hie on windows without logging.
Closes #90
1 parent 2b599b1 commit 8db5370

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 0.0.19
2+
3+
* Fix hie launch on windows with logging off (#90). Thanks @Tehnix.
4+
15
### 0.0.18
26

37
* Support GHC 8.4.3 in the wrapper file

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-hie-server",
33
"displayName": "Haskell Language Server",
44
"description": "Language Server Protocol for Haskell via HIE",
5-
"version": "0.0.18",
5+
"version": "0.0.19",
66
"license": "MIT",
77
"publisher": "alanz",
88
"engines": {

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function activateHieNoCheck(context: ExtensionContext, folder: WorkspaceFolder,
149149
const tempDir = os.tmpdir();
150150
const runArgs = [];
151151
// const debugArgs = ['-d', '-l', path.join(tempDir, 'hie.log')];
152-
let debugArgs = [''];
152+
let debugArgs: string[] = [];
153153
if (logLevel === 'verbose') {
154154
debugArgs = ['-d', '-l', path.join(tempDir, 'hie.log'), '--vomit'];
155155
} else if (logLevel === 'messages') {

0 commit comments

Comments
 (0)