Skip to content

Commit bbbb048

Browse files
address PR feedback
1 parent ff93750 commit bbbb048

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/Troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Coverlet works thanks to ModuleTracker that is injected during instrumentation f
207207
This piece of code run as a part of tests and doesn't have any connection with coverlet.
208208
We can collect logs from trackers throught an enviroment variable
209209
```
210-
set COVERLET_ENABLETRAKERLOG=1
210+
set COVERLET_ENABLETRACKERLOG=1
211211
```
212212
When enabled tracking event will be collected in log file near to module location.
213213
File name will be something `moduleName.dll_tracker.txt`

src/coverlet.core/Instrumentation/ModuleTrackerTemplate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static class ModuleTrackerTemplate
2020
public static string HitsFilePath;
2121
public static int[] HitsArray;
2222
public static bool SingleHit;
23-
private static bool _enableLog = int.TryParse(Environment.GetEnvironmentVariable("COVERLET_ENABLETRAKERLOG"), out int result) ? result == 1 : false;
23+
private static bool _enableLog = int.TryParse(Environment.GetEnvironmentVariable("COVERLET_ENABLETRACKERLOG"), out int result) ? result == 1 : false;
2424

2525
static ModuleTrackerTemplate()
2626
{

0 commit comments

Comments
 (0)