Skip to content

Commit

Permalink
Correct Return Type That Closure Missed
Browse files Browse the repository at this point in the history
It appears that closure did not notice that a return type
was not consistent. This corrects the return type to match
what the download method in download manager actually
returns.

Issue #1248

Change-Id: I796e31d9e7ad1d812bd53a55f5f1c745ac0b187c
  • Loading branch information
vaage authored and joeyparrish committed May 9, 2018
1 parent a6623b9 commit b0032b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/offline/download_manager.js
Expand Up @@ -141,7 +141,7 @@ shaka.offline.DownloadManager.prototype.queue = function(

/**
* @param {!shaka.net.NetworkingEngine} net
* @return {!Promise.<number>}
* @return {!Promise}
*/
shaka.offline.DownloadManager.prototype.download = function(net) {
let groups = shaka.util.MapUtils.values(this.groups_);
Expand Down

0 comments on commit b0032b3

Please sign in to comment.