Skip to content

Commit 9226cb8

Browse files
committed
guard with argsTesting
1 parent b39b112 commit 9226cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exe/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ main = do
8585
& cmapWithPrio (renderStrict . layoutPretty defaultLayoutOptions . fst)
8686
-- do not log heap stats to the LSP log as they interfere with the
8787
-- ability of lsp-test to detect a stuck server in tests and benchmarks
88-
& cfilter (not . heapStats . snd . payload)
88+
& if argsTesting then cfilter (not . heapStats . snd . payload) else id
8989
]
9090
plugins = (Plugins.idePlugins (cmapWithPrio LogPlugins recorder) includeExamplePlugins)
9191

0 commit comments

Comments
 (0)