mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
b5384bb9e6
* Infra for errors and warnings. * Most allowlist/denylist consistency errors are warnings only. * Adapt danger to errors+wranings. Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
15 lines
310 B
TypeScript
15 lines
310 B
TypeScript
import { sanityCheckAll } from "../action/update-all";
|
|
|
|
export async function main() {
|
|
try {
|
|
const [errors, warnings] = await sanityCheckAll();
|
|
// warnings ignored
|
|
process.exit(errors.length);
|
|
} catch(err) {
|
|
console.error(err);
|
|
process.exit(1);
|
|
}
|
|
}
|
|
|
|
main();
|