File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ private string GetSettings()
169169
170170 private string GetTestAdapterPathArg ( )
171171 {
172- if ( coverageProject . Settings . CoverletCollectorDirectoryPath != null ) {
172+ if ( ! String . IsNullOrWhiteSpace ( coverageProject . Settings . CoverletCollectorDirectoryPath ) ) {
173173 var directoryPath = coverageProject . Settings . CoverletCollectorDirectoryPath . Trim ( ) ;
174174 if ( Directory . Exists ( directoryPath ) )
175175 {
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public void Initialize(string appDataFolder)
4747
4848 private string GetOpenCoverExePath ( string customExePath )
4949 {
50- if ( customExePath != null )
50+ if ( ! String . IsNullOrWhiteSpace ( customExePath ) )
5151 {
5252 return customExePath ;
5353 }
You can’t perform that action at this time.
0 commit comments