mirror of
https://github.com/urbit/shrub.git
synced 2024-11-30 22:15:47 +03:00
build: check for npx before calling
This commit is contained in:
parent
0930dea484
commit
306eb57ae5
@ -1,4 +1,10 @@
|
||||
#!/bin/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