chimney (nix old logs)
authorAJ ONeal <aj@therootcompany.com>
Mon, 4 May 2020 22:24:56 +0000 (22:24 +0000)
committerAJ ONeal <aj@therootcompany.com>
Mon, 4 May 2020 22:24:56 +0000 (22:24 +0000)
_common/normalize.js

index 302952f8f28723a99473617cc57dda5b2565efa4..0f28e238c391c707652fe399ea5cc15a4cc7be62 100644 (file)
@@ -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';
     }