Skip to content

Commit 42e62be

Browse files
committed
use function instead of alias
1 parent efcecd1 commit 42e62be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

integration-tests/append-patches/append-patches.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ npm install
66

77
echo "add patch-package"
88
npm add $1
9-
alias patch-package=./node_modules/.bin/patch-package
9+
10+
function patch-package {
11+
./node_modules/.bin/patch-package "$@"
12+
}
1013

1114
function replace {
1215
npx replace "$1" "$2" node_modules/left-pad/index.js

0 commit comments

Comments
 (0)