From 4bef3a4aa0d31b39da8d548b227602d8fcc9fa18 Mon Sep 17 00:00:00 2001 From: TheFlash787 Date: Thu, 13 Aug 2020 09:42:49 +0100 Subject: [PATCH] Made a boo-boo, play issues have been fixed. --- app/assets/js/distromanager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/js/distromanager.js b/app/assets/js/distromanager.js index d103abf..8ed4664 100644 --- a/app/assets/js/distromanager.js +++ b/app/assets/js/distromanager.js @@ -548,7 +548,6 @@ exports.pullRemote = function(){ if(!error){ try { data = DistroIndex.fromJSON(JSON.parse(body)) - resolve(data) } catch(e) { reject('We cannot parse the JSON in the remote distribution file') } @@ -574,6 +573,7 @@ exports.pullLocal = function(){ return new Promise((resolve, reject) => { fs.readFile(DEV_MODE ? DEV_PATH : DISTRO_PATH, 'utf-8', (err, d) => { if(!err){ + logger.log(d) try { data = DistroIndex.fromJSON(JSON.parse(d)) resolve(data)