unfied style
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
REAL_NPM="/usr/local/bin/npm"
|
||||
|
||||
if [ "${1-}" = "config" ] && [ "${2-}" = "get" ] && [ "${3-}" = "registry" ]; then
|
||||
exec "$REAL_NPM" --prefix "$PWD" "$@"
|
||||
fi
|
||||
|
||||
exec "$REAL_NPM" "$@"
|
||||
Reference in New Issue
Block a user