diff --git a/lefthook.yaml b/lefthook.yaml index b213338..3e839a2 100644 --- a/lefthook.yaml +++ b/lefthook.yaml @@ -17,4 +17,4 @@ pre-commit: run: pnpm rollup -c - name: check diff - run: git diff --exit-code dist {staged_files} + run: git diff --exit-code dist pnpm-lock.yaml {staged_files}