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 @@ -799,10 +799,10 @@ protected List<InputOutput> GetInputOutputItemsFromHelp(dynamic typesInfo)
799
799
{
800
800
foreach ( dynamic ioType in typesInfo )
801
801
{
802
- string typeName = FixUpTypeName ( ioType . type . ToString ( ) ) ;
802
+ string typeName = FixUpTypeName ( ioType . type . name ? . Split ( ) ? [ 0 ] ?? string . Empty ) ;
803
803
if ( ! string . IsNullOrEmpty ( typeName ) && string . Compare ( typeName , "None" , true ) != 0 )
804
804
{
805
- string description = GetStringFromDescriptionArray ( ioType . description ) . Trim ( ) ;
805
+ string description = GetStringFromDescriptionArray ( ioType . description ) ? . Trim ( ) ?? string . Empty ;
806
806
itemList . Add ( new InputOutput ( typeName , string . IsNullOrEmpty ( description ) ? Constants . FillInDescription : description ) ) ;
807
807
}
808
808
}
You can’t perform that action at this time.
0 commit comments