mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 16:02:28 +00:00
wrap array results from deno scripts in object (#204)
This commit is contained in:
@@ -614,7 +614,7 @@ async function run() {{
|
||||
if (res == undefined) {{
|
||||
res = {{}}
|
||||
}}
|
||||
if (typeof res !== 'object') {{
|
||||
if (typeof res !== 'object' || Array.isArray(res)) {{
|
||||
res = {{ res1: res }}
|
||||
}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user