#!/usr/bin/env node
import {
  formatDevRuntimeHotfixAuditFailure,
  runDevRuntimeHotfixAuditCli
} from "./src/dev-runtime-hotfix-audit.mjs";

try {
  process.exitCode = await runDevRuntimeHotfixAuditCli(process.argv.slice(2));
} catch (error) {
  process.stdout.write(`${JSON.stringify(formatDevRuntimeHotfixAuditFailure(error), null, 2)}\n`);
  process.exitCode = 1;
}
