unify bin scriptnames

This commit is contained in:
dennis.ludwig
2021-06-11 22:24:50 +02:00
parent e2aec44ad7
commit 5c581de249
5 changed files with 34 additions and 21 deletions

View File

@@ -13,10 +13,12 @@ process.on("unhandledRejection", (err) => {
throw err;
});
const paths = require("../config/paths");
require("../bin/tasks/radarjson")
.radarJsonGenerator()
.then(() => {
console.log("rd.json created");
console.log(`${paths.appRdJson} created.`);
})
.catch((err) => {
if (err && err.message) {