Compare commits

...

3 Commits

2 changed files with 2 additions and 2 deletions

View File

@ -612,7 +612,7 @@ if hash corepack 2> /dev/null; then
alias npm="corepack npm" alias npm="corepack npm"
alias npx="corepack npx" alias npx="corepack npx"
if ! hash prettier 2> /dev/null; then if ! hash prettier 2> /dev/null; then
alias prettier="pnpm exec prettier --cache --ignore-unknown" alias prettier="pnpx prettier --cache --ignore-unknown"
fi fi
else else
echo "Information: corepack is not installed." echo "Information: corepack is not installed."

View File

@ -602,7 +602,7 @@ if hash corepack 2>/dev/null; then
alias npm="corepack npm" alias npm="corepack npm"
alias npx="corepack npx" alias npx="corepack npx"
if ! hash prettier 2>/dev/null; then if ! hash prettier 2>/dev/null; then
alias prettier="pnpm exec prettier --cache --ignore-unknown" alias prettier="corepack pnpx prettier --cache --ignore-unknown"
fi fi
else else
echo "Information: corepack is not installed." echo "Information: corepack is not installed."