cleanup: shfmt, shellcheck, and whitespace
[webi-installers/.git] / prettier / install.sh
1 #!/bin/bash
2
3 if [ -z "$(npm --version 2> /dev/null)" ]; then
4     webi node
5     export PATH="$HOME/.local/opt/node/bin:$PATH"
6 fi
7 npm install -g prettier@latest