File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
SG.CodeCoverage/Instrumentation Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public static class InjectedConstants
21
21
/// </summary>
22
22
public static readonly string RuntimeConfigFileName = "CodeCoverageRecorderRuntimeConfig.cfg" ;
23
23
/// <summary>
24
- /// The path to store the RuntimeConfig file. If the path is null or empty,the file
24
+ /// The path to store the RuntimeConfig file. If the path is null or empty, the file
25
25
/// will be stored in the path that the Recorder assembly (this assembly) is loaded from.
26
26
/// </summary>
27
27
public static readonly string RuntimeConfigOutputPath = "" ;
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ public InstrumentationOptions(
39
39
ControllerPortNumber = controllerPortNumber ;
40
40
}
41
41
42
+ public static readonly string DefaultRuntimeConfigFileName = InjectedConstants . RuntimeConfigFileName ;
43
+
42
44
/// <summary>
43
45
/// Full path of the assemblies to instrument.
44
46
/// </summary>
@@ -64,7 +66,7 @@ public InstrumentationOptions(
64
66
/// Name of the Runtime Config file. Used to store listening port of the controller server.
65
67
/// Default value: "CodeCoverageRecorderRuntimeConfig.cfg"
66
68
/// </summary>
67
- public string RuntimeConfigFileName { get ; set ; } = InjectedConstants . RuntimeConfigFileName ;
69
+ public string RuntimeConfigFileName { get ; set ; } = DefaultRuntimeConfigFileName ;
68
70
/// <summary>
69
71
/// Path to store Runtime Config file.
70
72
/// If not specified or empty, the file will be stored in the same directory as where the recorder assembly
You can’t perform that action at this time.
0 commit comments