mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-03-11 06:53:56 +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…
x
Reference in New Issue
Block a user