From: AJ ONeal Date: Mon, 4 May 2020 22:24:56 +0000 (+0000) Subject: chimney (nix old logs) X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=4d817fefe9f804d331bb3c93cf11d5f849f9814d;p=webi-installers%2F.git chimney (nix old logs) --- diff --git a/_common/normalize.js b/_common/normalize.js index 302952f..0f28e23 100644 --- a/_common/normalize.js +++ b/_common/normalize.js @@ -40,10 +40,18 @@ function normalize(all) { rel.name = rel.download.replace(/.*\//, ''); } if (!rel.os) { - console.log('name:', rel.name); rel.os = Object.keys(osMap).find(function (regKey) { - console.log('release os:', regKey, osMap[regKey], osMap[regKey].test(rel.name || rel.download), rel.name, rel.download); + /* + console.log( + 'release os:', + regKey, + osMap[regKey], + osMap[regKey].test(rel.name || rel.download), + rel.name, + rel.download + ); + // */ return osMap[regKey].test(rel.name || rel.download); }) || 'unknown'; }