File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public ServerCodeExcisionProcessor(ServerCodeExcisionParameters parameters)
3737 _parameters = parameters ;
3838
3939 _functionExciseRegexes = new List < Regex > ( ) ;
40- if ( _parameters . ExciseAllFunctionsRegexString != "" )
40+ if ( ! string . IsNullOrEmpty ( _parameters . ExciseAllFunctionsRegexString ) )
4141 {
4242 var allFunctionExciseRegexStrings = _parameters . ExciseAllFunctionsRegexString . Split ( "|||" ) ;
4343 foreach ( var regexString in allFunctionExciseRegexStrings )
@@ -48,7 +48,7 @@ public ServerCodeExcisionProcessor(ServerCodeExcisionParameters parameters)
4848 }
4949
5050 _fullyExciseRegexes = new List < Regex > ( ) ;
51- if ( _parameters . FullExcisionRegexString != "" )
51+ if ( ! string . IsNullOrEmpty ( _parameters . FullExcisionRegexString ) )
5252 {
5353 var fullyExciseRegexStrings = _parameters . FullExcisionRegexString . Split ( "|||" ) ;
5454 foreach ( var regexString in fullyExciseRegexStrings )
You can’t perform that action at this time.
0 commit comments