Skip to content

Commit e30b2da

Browse files
authored
Turn off dumping mermaid graphs in FSharpWorkspace (#18717)
This was added to debug FSharpWorkspace tests on the LSP branch, should only run in debug mode if at all and we don't need it at the moment Co-authored-by: Adam Boniecki <[email protected]>
1 parent dd55484 commit e30b2da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/FSharp.Compiler.ComponentTests/CompilerService/FSharpWorkspace.fs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ type TestingWorkspace(testName) as _this =
4343

4444
let activity = Activity.start $"Test FSharpWorkspace {testName}" []
4545

46-
do _this.Projects.Debug_DumpGraphOnEveryChange <- Some debugGraphPath
46+
// Keeping graph dumping infrastructure for now
47+
// To turn it on change `None` to `Some debugGraphPath`
48+
// But if we want to turn it on again, it needs to only work in debug and not release
49+
do _this.Projects.Debug_DumpGraphOnEveryChange <- None
4750

4851
member _.DebugGraphPath = debugGraphPath
4952

0 commit comments

Comments
 (0)