mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
197613e61c
* Return all error messages from checks (to be used by Danger). * Add Danger dev dep. * Fix danger.yml + dangerfile.ts. * Fix root files. * Finetune Danger message. Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
14 lines
270 B
TypeScript
14 lines
270 B
TypeScript
import { sanityCheckAll } from "../action/update-all";
|
|
|
|
export async function main() {
|
|
try {
|
|
const errors = await sanityCheckAll();
|
|
process.exit(errors.length);
|
|
} catch(err) {
|
|
console.error(err);
|
|
process.exit(1);
|
|
}
|
|
}
|
|
|
|
main();
|