minor cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-01-13 00:47:54 +03:00
parent bb26b133ab
commit 455b0a0608

View File

@ -194,8 +194,8 @@ module.packed =
|| res[0] instanceof Promise }
// compensate for the outer .flat()...
return (has_promise
&& res instanceof Array) ?
// NOTE: at this point res is always an array...
return has_promise ?
// NOTE: since we are already in a promise
// grouping things here is not a big
// deal, however this is needed to link