fix: add check pre-commit

pull/7803/head
Arik Chakma 1 month ago
parent e5542fa447
commit e8c8110f6e
  1. 4
      scripts/generate-renderer.sh
  2. 2
      scripts/pre-commit-check.sh

@ -9,7 +9,3 @@ echo "Latest commit hash: $LATEST_COMMIT_HASH"
# Install the package using the latest commit hash
pnpm add github:roadmapsh/web-draw-v2#"$LATEST_COMMIT_HASH"\&path:packages/editor
# Ignore worktree changes for package.json and pnpm-lock.yaml
git update-index --assume-unchanged package.json || true
git update-index --assume-unchanged pnpm-lock.yaml || true

@ -11,5 +11,3 @@ fi
echo "✅ Pre-commit check passed."
exit 0

Loading…
Cancel
Save