Skip to content

Commit

Permalink
fix install-prisma-language-server.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed May 26, 2024
1 parent c70fa0e commit f8de160
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions installer/install-prisma-language-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ npm install "@prisma/engines"
_DIR="$PWD"
cd "node_modules/@prisma/engines"
PRISMA_FMT_BASENAME="$(find . -name "prisma-fmt*")"
test -x "$PRISMA_FMT_BASENAME"
cd "$_DIR"

ln -s "./node_modules/@prisma/engines/${PRISMA_FMT_BASENAME}" ./prisma-fmt
if [ ! -x "$PRISMA_FMT_BASENAME" ]; then
ln -s "./node_modules/@prisma/engines/${PRISMA_FMT_BASENAME}" ./prisma-fmt
fi
"$(dirname "$0")/npm_install.sh" prisma-language-server @prisma/language-server

0 comments on commit f8de160

Please sign in to comment.