Repaired hashFiles call so if error was thrown, it was returned to process invoker (#1678)

* hashFiles.ts added exit status on promise action

* generated layoutbin/hashfiles/index.js
This commit is contained in:
Nikola Jokic
2022-02-23 15:51:09 +01:00
committed by GitHub
parent 934027da60
commit 460c32a337
2 changed files with 17 additions and 1 deletions

View File

@@ -1621,7 +1621,15 @@ function run() {
}
});
}
run();
run()
.then(out => {
console.log(out);
process.exit(0);
})
.catch(err => {
console.error(err);
process.exit(1);
});
/***/ }),