File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -126,14 +126,13 @@ ignoreForGhcVersions vers reason
126
126
logFilePath :: String
127
127
logFilePath = " hls-" ++ show ghcVersion ++ " .log"
128
128
129
- {- HLINT ignore hlsCommand "Missing NOINLINE pragma" -}
130
-
131
129
-- | The command to execute the version of hls for the current compiler.
132
130
--
133
131
-- Both @stack test@ and @cabal new-test@ setup the environment so @hls@ is
134
132
-- on PATH. Cabal seems to respond to @build-tool-depends@ specifically while
135
133
-- stack just puts all project executables on PATH.
136
134
hlsCommand :: String
135
+ {-# NOINLINE hlsCommand #-}
137
136
hlsCommand = unsafePerformIO $ do
138
137
testExe <- fromMaybe " haskell-language-server" <$> lookupEnv " HLS_TEST_EXE"
139
138
pure $ testExe ++ " --lsp -d -j2 -l test-logs/" ++ logFilePath
You can’t perform that action at this time.
0 commit comments