style: auto format

This commit is contained in:
GitHub Action
2021-01-11 15:51:59 +00:00
parent 3a553c7f1c
commit 57634bfbec

View File

@@ -67,14 +67,16 @@ Auto Route test failed, please check your PR body format and reopen pull request
.catch((e) => {
core.warning(e);
});
await github.pulls.update({
owner: context.repo.owner,
repo: context.repo.repo,
pull_nulber: number,
state: "closed"
}).catch((e) => {
core.warning(e);
});
await github.pulls
.update({
owner: context.repo.owner,
repo: context.repo.repo,
pull_nulber: number,
state: 'closed',
})
.catch((e) => {
core.warning(e);
});
throw 'Please follow the PR rules: failed to detect route';
};