Files
carmanagement/docker/scripts/npm
T
2026-05-23 04:35:47 -04:00

11 lines
199 B
Bash
Executable File

#!/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" "$@"