diff --git a/scripts/workflow/test-route/identify.js b/scripts/workflow/test-route/identify.js index 9eb66899bb..7fcf08fe43 100644 --- a/scripts/workflow/test-route/identify.js +++ b/scripts/workflow/test-route/identify.js @@ -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'; };