From 5e9b2162ca40bbe3d565110af3e51d4051f80d13 Mon Sep 17 00:00:00 2001 From: SondreB Date: Mon, 8 Mar 2021 14:09:09 +0100 Subject: [PATCH] Bug fix --- action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.js b/action.js index ce4281e..bdfe11a 100644 --- a/action.js +++ b/action.js @@ -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}`);