Add throw type to log.array()

This commit is contained in:
Juan Cruz Viotti 2014-12-05 15:34:53 -04:00
parent 3fbb7b5310
commit ad74cbaec0

View File

@ -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?