Skip to content

Commit 0646192

Browse files
committed
Fix hie-vscode script to use hie-wrapper if available
1 parent 0717588 commit 0646192

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)