Skip to content

Commit

Permalink
feat: check script for precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenybai committed May 24, 2022
1 parent 8ce0bc4 commit c66b6f6
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ git stage pnpm-lock.yaml
info "Checking for errors..."

if [ -n "$(git status src --porcelain)" ]; then
pnpm test || exit 1
zx scripts/check.mjs || exit 1
fi

success "No errors found. Attempting to commit your changes!"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"source-map": "^0.7.3",
"taze": "^0.7.3",
"tslib": "^2.4.0",
"typescript": "^4.6.4",
"typescript": "^4.7.2",
"unbuild": "^0.7.4",
"virtual-dom": "^2.1.1",
"vite": "^2.9.9",
Expand Down
80 changes: 40 additions & 40 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/million/scheduler.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { render } from './render';

const workQueue: (() => void)[] = [];
let pending = false;

Expand Down

0 comments on commit c66b6f6

Please sign in to comment.