mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 06:35:32 +03:00
build: check for npx before calling
This commit is contained in:
parent
0930dea484
commit
306eb57ae5
@ -1,4 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
cd pkg/interface && npx lint-staged
|
cd pkg/interface
|
||||||
|
|
||||||
|
command -v npx > /dev/null || {
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
|
npx lint-staged
|
Loading…
Reference in New Issue
Block a user