Skip to content

Commit 84cf70e

Browse files
committed
run npm scripts using npx
1 parent 78167a5 commit 84cf70e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

precious.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ignore-stderr = [
4646
type = "both"
4747
include = "**/*.md"
4848
cmd = [
49-
"./node_modules/.bin/prettier",
49+
"npx", "-s", "prettier",
5050
"--no-config",
5151
"--print-width", "80",
5252
"--prose-wrap", "always",
@@ -61,7 +61,7 @@ ignore-stderr = [ "Code style issues" ]
6161
type = "both"
6262
include = "**/*.yml"
6363
cmd = [
64-
"./node_modules/.bin/prettier",
64+
"npx", "-s", "prettier",
6565
"--no-config",
6666
"--single-quote",
6767
]

0 commit comments

Comments
 (0)