mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-04-20 10:13:59 +02:00
Use npx instead of manual ./node_modules/bin
This commit is contained in:
parent
0cd0e350db
commit
f855b99613
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ if command_exists typos; then
|
|||
echo "$files" | step xargs typos
|
||||
fi
|
||||
|
||||
if command_exists ./node_modules/.bin/prettier; then
|
||||
echo "$files" | step xargs ./node_modules/.bin/prettier --ignore-unknown --write
|
||||
if command_exists npx; then
|
||||
echo "$files" | step xargs npx prettier --ignore-unknown --write
|
||||
fi
|
||||
|
||||
if command_exists cargo; then
|
||||
|
|
Loading…
Add table
Reference in a new issue