Skip to content

Commit 24a9021

Browse files
authored
Merge pull request #114 from nicolashery/fix-use-hie-wrapper
Fix hie-vscode script to use hie-wrapper if available
2 parents 0717588 + 0646192 commit 24a9021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hie-vscode.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
export HIE_SERVER_PATH=`which hie`
44
export HIE_WRAPPER_PATH=`which hie-wrapper`
55

6-
if [ "X" = "X$HIE_WRAPPER_PATH" ]; then
6+
if [ ! "X" = "X$HIE_WRAPPER_PATH" ]; then
77
hie-wrapper --lsp $@
88
elif [ "X" = "X$HIE_SERVER_PATH" ]; then
99
echo "Content-Length: 100\r\n\r"

0 commit comments

Comments
 (0)