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
126126logFilePath :: String
127127logFilePath = " hls-" ++ show ghcVersion ++ " .log"
128128
129- {- HLINT ignore hlsCommand "Missing NOINLINE pragma" -}
130-
131129-- | The command to execute the version of hls for the current compiler.
132130--
133131-- Both @stack test@ and @cabal new-test@ setup the environment so @hls@ is
134132-- on PATH. Cabal seems to respond to @build-tool-depends@ specifically while
135133-- stack just puts all project executables on PATH.
136134hlsCommand :: String
135+ {-# NOINLINE hlsCommand #-}
137136hlsCommand = unsafePerformIO $ do
138137 testExe <- fromMaybe " haskell-language-server" <$> lookupEnv " HLS_TEST_EXE"
139138 pure $ testExe ++ " --lsp -d -j2 -l test-logs/" ++ logFilePath
You can’t perform that action at this time.
0 commit comments