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)
799799 {
800800 foreach ( dynamic ioType in typesInfo )
801801 {
802- string typeName = FixUpTypeName ( ioType . type . ToString ( ) ) ;
802+ string typeName = FixUpTypeName ( ioType . type . name ? . Split ( ) ? [ 0 ] ?? string . Empty ) ;
803803 if ( ! string . IsNullOrEmpty ( typeName ) && string . Compare ( typeName , "None" , true ) != 0 )
804804 {
805- string description = GetStringFromDescriptionArray ( ioType . description ) . Trim ( ) ;
805+ string description = GetStringFromDescriptionArray ( ioType . description ) ? . Trim ( ) ?? string . Empty ;
806806 itemList . Add ( new InputOutput ( typeName , string . IsNullOrEmpty ( description ) ? Constants . FillInDescription : description ) ) ;
807807 }
808808 }
You can’t perform that action at this time.
0 commit comments