Skip to content

Commit 304974d

Browse files
committed
use npx to execute patch-package
1 parent 8edc4db commit 304974d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration-tests/custom-patch-dir/custom-patch-dir.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ npx replace pad patch-package node_modules/left-pad/index.js
1010
mkdir my
1111

1212
echo "make patch file"
13-
patch-package left-pad --patch-dir my/patches
13+
npx patch-package left-pad --patch-dir my/patches
1414

1515
ls my/patches/left-pad*
1616

@@ -19,6 +19,6 @@ rimraf node_modules
1919
yarn
2020

2121
echo "run patch-package"
22-
patch-package --patch-dir my/patches
22+
npx patch-package --patch-dir my/patches
2323

2424
grep patch-package node_modules/left-pad/index.js

0 commit comments

Comments
 (0)