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
2121 /// </summary>
2222 public static readonly string RuntimeConfigFileName = "CodeCoverageRecorderRuntimeConfig.cfg" ;
2323 /// <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
2525 /// will be stored in the path that the Recorder assembly (this assembly) is loaded from.
2626 /// </summary>
2727 public static readonly string RuntimeConfigOutputPath = "" ;
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ public InstrumentationOptions(
3939 ControllerPortNumber = controllerPortNumber ;
4040 }
4141
42+ public static readonly string DefaultRuntimeConfigFileName = InjectedConstants . RuntimeConfigFileName ;
43+
4244 /// <summary>
4345 /// Full path of the assemblies to instrument.
4446 /// </summary>
@@ -64,7 +66,7 @@ public InstrumentationOptions(
6466 /// Name of the Runtime Config file. Used to store listening port of the controller server.
6567 /// Default value: "CodeCoverageRecorderRuntimeConfig.cfg"
6668 /// </summary>
67- public string RuntimeConfigFileName { get ; set ; } = InjectedConstants . RuntimeConfigFileName ;
69+ public string RuntimeConfigFileName { get ; set ; } = DefaultRuntimeConfigFileName ;
6870 /// <summary>
6971 /// Path to store Runtime Config file.
7072 /// 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