chore: fix shell scripts lint errors

This commit is contained in:
jo 2022-11-24 21:14:59 +01:00 committed by JuniorJPDJ
commit d47fef0806
23 changed files with 359 additions and 228 deletions

View file

@ -1,5 +1,11 @@
#!/usr/bin/env -S bash -eux
#!/usr/bin/env bash
npm_binaries () {
command -v yarn > /dev/null && yarn bin || npm bin
set -eux
npm_binaries() {
if command -v yarn > /dev/null; then
yarn bin
else
npm bin
fi
}