github.com/minio/console@v1.4.1/web-app/check-prettier.sh (about) 1 #!/bin/bash 2 3 if [ -f "$NVM_DIR/nvm.sh" ] 4 then 5 \. "$NVM_DIR/nvm.sh"; 6 nvm use; 7 fi 8 yarn install --no-check-resolutions 9 yarn prettier --check .