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>
10 lines
429 B
TypeScript
10 lines
429 B
TypeScript
import { fail, markdown } from "danger";
|
|
import { sanityCheckAll } from "./script/action/update-all";
|
|
|
|
sanityCheckAll().then(errors => {
|
|
if (errors.length > 0) {
|
|
errors.forEach(err => fail(err));
|
|
markdown("Please fix the errors above. Files can be replaced/renamed in this pull request (using command-line, or GitHub Desktop). Alternatively, you may close this pull request and open a new one.");
|
|
}
|
|
});
|