github.com/jfrog/frogbot@v1.1.1-0.20231221090046-821a26f50338/action/.husky/pre-commit (about)

     1  #!/bin/sh
     2  . "$(dirname "$0")/_/husky.sh"
     3  
     4  if [ "$(git status action --porcelain=v1)" ]; then
     5      cd action || exit
     6      npm i
     7      npm prune --production
     8      git add node_modules lib
     9  fi