rush is installed on every commit

52 Views Asked by At

We have a git pre-commit hook set up that runs prettier through rush, following the instructions here

node common/scripts/install-run-rush.js prettier || exit $?

Every time I commit, I get a new install of rush. My guess is that there's something wrong in my env that's keeping this script from recognizing that rush is already installed, but I can't figure out what based on inspecting the script.

What could I change or investigate?

0

There are 0 best solutions below