0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore(elements): check git existence

This commit is contained in:
Gao Sun 2024-07-20 23:01:58 +08:00
parent 520f43ca03
commit 3527848b67
No known key found for this signature in database
GPG key ID: 13EBE123E4773688

View file

@ -37,7 +37,7 @@
"test:ci": "pnpm run test --silent --coverage",
"prepack": "pnpm build",
"localize": "lit-localize",
"check": "lit-localize extract && git add . -N && git diff --exit-code"
"check": "if command -v git &> /dev/null; then lit-localize extract && git add . -N && git diff --exit-code; fi"
},
"engines": {
"node": "^20.9.0"