diff --git a/lib/core.js b/lib/core.js index 09cd8ed7..7c0a74d7 100644 --- a/lib/core.js +++ b/lib/core.js @@ -765,7 +765,7 @@ Archiver.prototype.glob = function(pattern, options, data) { * right after calling this method so you should set listeners beforehand to * properly detect stream completion. * - * @return {this} + * @return {Promise} */ Archiver.prototype.finalize = function() { if (this._state.aborted) {