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