Skip to content

Commit

Permalink
guard with argsTesting
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Aug 17, 2022
1 parent b39b112 commit 9226cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ main = do
& cmapWithPrio (renderStrict . layoutPretty defaultLayoutOptions . fst)
-- do not log heap stats to the LSP log as they interfere with the
-- ability of lsp-test to detect a stuck server in tests and benchmarks
& cfilter (not . heapStats . snd . payload)
& if argsTesting then cfilter (not . heapStats . snd . payload) else id
]
plugins = (Plugins.idePlugins (cmapWithPrio LogPlugins recorder) includeExamplePlugins)

Expand Down

0 comments on commit 9226cb8

Please sign in to comment.