trustwallet-assets/script/main/check-sanity.ts

15 lines
315 B
TypeScript
Raw Normal View History

import { sanityCheckAll } from "../action/update-all";
export async function main(): Promise<void> {
try {
// warnings ignored
const [errors] = await sanityCheckAll();
process.exit(errors.length);
} catch(err) {
console.error(err);
process.exit(1);
}
}
main();