normalize example release info
authorAJ ONeal <aj@therootcompany.com>
Sun, 14 Jun 2020 09:51:13 +0000 (09:51 +0000)
committerAJ ONeal <aj@therootcompany.com>
Sun, 14 Jun 2020 09:51:13 +0000 (09:51 +0000)
_example/releases.js

index b39b54ccf00decae5c7a6eda56732b2868d34063..60ef61e51567ce4d7762b931d3101d291d79335c 100644 (file)
@@ -36,6 +36,7 @@ if (module === require.main) {
   module.exports(require('@root/request')).then(function (all) {
     // limit the example output
     all.releases = all.releases.slice(0, 5);
+    all = require('../_common/normalize.js')(all);
     console.info(JSON.stringify(all, null, 2));
   });
 }