mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 14:37:47 +00:00
Add throw type to log.array()
This commit is contained in:
parent
3fbb7b5310
commit
ad74cbaec0
@ -75,7 +75,7 @@ exports.out = (args...) ->
|
||||
# @param {Array} array array
|
||||
# @param {Function} logFunction log function (e.g: resin.log.info)
|
||||
#
|
||||
# @throw Will throw if logFunction is not a function
|
||||
# @throw {Error} Will throw if logFunction is not a function
|
||||
#
|
||||
exports.array = (array, logFunction) ->
|
||||
return if not array?
|
||||
|
Loading…
Reference in New Issue
Block a user