Undo my fix in favor of fix from Peter T. LaComb Jr
This commit is contained in:
parent
a4c0c57d12
commit
16611e2a74
|
|
@ -99,9 +99,6 @@ namespace Elsa.Scripting.JavaScript.Services
|
|||
|
||||
if (value.IsArray())
|
||||
{
|
||||
if (targetType == null)
|
||||
targetType = typeof(object[]);
|
||||
|
||||
var arrayInstance = value.AsArray();
|
||||
var elementType = targetType?.GetElementType() ?? targetType?.GenericTypeArguments?.First() ?? typeof(object);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue