File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Download KY.Generator to use this module</Description>
14
14
<PackageIconUrl >https://ky-programming.de/images/logos/128.png</PackageIconUrl >
15
15
<RepositoryUrl >https://github.com/KY-Programming/generator</RepositoryUrl >
16
16
<PackageTags >KY-Generator KY Generator Angular</PackageTags >
17
+ <LangVersion >latest</LangVersion >
17
18
</PropertyGroup >
18
19
19
20
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public bool Parse(IEnumerable<RawCommandParameter> parameters)
57
57
}
58
58
PropertyInfo property = mapping [ parameterName ] ;
59
59
bool isList = property . PropertyType . Name . StartsWith ( "List`" ) ;
60
- if ( isList )
60
+ if ( isList && this . OriginalParameters . Count ( p => p . Name == parameter . Name ) > 1 )
61
61
{
62
62
IList list = property . GetMethod . Invoke ( this . Parameters , null ) as IList ;
63
63
if ( list == null )
You can’t perform that action at this time.
0 commit comments