cleanup: */install.ps1 add out-null to all New-Item calls
[webi-installers/.git] / _webi / normalize.js
index 07b08c76e910512e2b1a156c2f41a2da21084efb..5232c2775b006fc8053b09c12048316c5dc0bb06 100644 (file)
@@ -135,6 +135,15 @@ function normalize(all) {
 }
 
 module.exports = normalize;
+module.exports._debug = function (all) {
+  all = normalize(all);
+  all.releases = all.releases
+    .filter(function (r) {
+      return ['windows', 'macos', 'linux'].includes(r.os) && 'amd64' === r.arch;
+    })
+    .slice(0, 10);
+  return all;
+};
 // NOT in order of priority (which would be tar, xz, zip, ...)
 module.exports.formats = formats;
 module.exports.arches = arches;