Skip to content

Commit

Permalink
run docs:format
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Oct 1, 2023
1 parent dcc4d39 commit 35aa9a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ jobs:
run: yarn docs:tsc

- name: 🔧 Check Code Format
run: yarn docs:lint
run: |
yarn docs:lint && exit 0
echo "请执行 `pnpm run docs:format` 以格式化代码"
exit 1
- name: 🌌 Build VitePress Docs
run: yarn docs:build
4 changes: 2 additions & 2 deletions docs/.vitepress/analyzers/mcla.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ class MCLAWorker implements MCLAAPI {
const re = this.pendings.get(data._id)
if (re) {
this.pendings.delete(data._id)
if(data._error){
if (data._error) {
re[1](data._error)
}else {
} else {
re[0](data)
}
}
Expand Down

0 comments on commit 35aa9a1

Please sign in to comment.