File size: 382 Bytes
61b024b | 1 2 3 4 5 6 7 8 9 | import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { runVeritasChecks } from './checks.mjs';
const root = path.resolve(process.argv[2] || path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..'));
const result = await runVeritasChecks({ workspace: root });
console.log(JSON.stringify(result, null, 2));
if (!result.passed) process.exitCode = 1;
|