Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Mar 8, 2021
1 parent cf3efb1 commit 5e9b216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const { callbackify } = require('util');
http.get(url, options, (res) => {
if (res.statusCode === 301 || res.statusCode === 302) {
console.log('Forwarding to: ' + res.headers.location);
return get(res.headers.location);
return get(res.headers.location, file, callback);
}

debug(`Download completed: ${url}`);
Expand Down

0 comments on commit 5e9b216

Please sign in to comment.