Skip to content

Commit 223f3d6

Browse files
chore: update pre-commit hook to generate i18n strings (#1765)
1 parent 215bf83 commit 223f3d6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.hooks/pre-commit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
yarn validate-commit
4+
yarn d2-app-scripts i18n extract && \
5+
git add i18n && \
6+
yarn d2-style check --staged

0 commit comments

Comments
 (0)