File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,9 @@ public MetricConfiguration(IDictionary<string, ValueObject> arguments)
39
39
40
40
public ImmutableArray < string > IgnoredTypes { get ; }
41
41
42
- public string JsonConfigFile => _arguments [ "<jsonfileconfig>" ] . ToString ( ) ;
42
+ public string JsonConfigFile => _arguments [ "<jsonfileconfig>" ] ? . ToString ( ) ;
43
43
44
44
private ImmutableArray < string > GetImmutableArray ( string key )
45
- => _arguments [ $ "<{ key } >"] != null
46
- ? _arguments [ $ "<{ key } >"] . ToString ( ) . Split ( ';' ) . ToImmutableArray ( )
47
- : ImmutableArray < string > . Empty ;
45
+ => _arguments [ $ "<{ key } >"] ? . ToString ( ) . Split ( ';' ) . ToImmutableArray ( ) ?? ImmutableArray < string > . Empty ;
48
46
}
49
47
}
Original file line number Diff line number Diff line change 31
31
// You can specify all the values or you can default the Build and Revision Numbers
32
32
// by using the '*' as shown below:
33
33
// [assembly: AssemblyVersion("1.0.*")]
34
- [ assembly: AssemblyVersion ( "1.0.0.0 " ) ]
34
+ [ assembly: AssemblyVersion ( "1.0.* " ) ]
35
35
[ assembly: AssemblyFileVersion ( "1.0.0.0" ) ]
You can’t perform that action at this time.
0 commit comments