INNER CODE UNIT · TypeScript
main
AnySoftKeyboard/AnySoftKeyboard · js/check_all_green/index.ts:10
const main = async () => {
program.parse();
const opts = program.opts();
const jsonContent = fs.readFileSync(opts.github_event_file, 'utf8');
if (!checkJobStatuses(jsonContent)) {
throw new Error('not all checks passed!');
}
};
main().catch((err) => {
console.error(err);
exit(1);
});