mirror of
https://github.com/flynx/types.js.git
synced 2025-10-28 10:00:08 +00:00
minor cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bb26b133ab
commit
455b0a0608
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user