-
-
Save zeke/4f8b830736abd8daaa8a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm () { | |
if [ "$1" = "publish" ]; then | |
dependency-check . && $(which npm) "$@" | |
else | |
$(which npm) "$@" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment