renovate/tools/generate-docs.ts
2024-02-09 13:23:49 +00:00

10 lines
273 B
TypeScript

import { logger } from '../lib/logger';
import { generateDocs } from './docs';
process.on('unhandledRejection', (err) => {
// Will print "unhandledRejection err is not defined"
logger.error({ err }, 'unhandledRejection');
process.exit(-1);
});
void generateDocs();