Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2f067f1

Browse files
committedDec 5, 2024·
Adjust Debug pragma to noop the monitoring stream in release build
1 parent 1d8a574 commit 2f067f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/PowerShellEditorServices.Test.E2E/Hosts/DebugOutputStream.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public DebugOutputStream(Stream? underlyingStream)
3131
if (segment.Array is null) { return; }
3232
LogData("➡️", segment.Array, segment.Offset, segment.Count);
3333
};
34-
#endif
3534

3635
}
3736

@@ -44,4 +43,5 @@ private static void LogData(string header, byte[] buffer, int offset, int count)
4443
Debug.WriteLine($"{header} {data}");
4544
}
4645
}
46+
#endif
4747
}

0 commit comments

Comments
 (0)
Please sign in to comment.