Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export async function main() {
return capnpc_ts
.run()
.then(ctx => {
transpileAll(ctx);
})
.thenReturn()
.tapCatch(reason => {
// tslint:disable-next-line:no-console
console.error(reason);
process.exit(1);
});
}