Skip to content

Commit

Permalink
always run pnpm install for ui/build
Browse files Browse the repository at this point in the history
  • Loading branch information
schlawg authored Oct 6, 2024
1 parent c4e876f commit 505d8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/build
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ cd "$(dirname "${BASH_SOURCE:-$0}")/.build"

update=$(echo "$*" | grep -q -- '--update' && echo true || echo false)

if $update || [ ! -d "node_modules" ]; then
#if $update || [ ! -d "node_modules" ]; then
if ! command -v pnpm &> /dev/null; then
echo "The 'pnpm' tool is required. See https://pnpm.io/installation."
exit 1
fi
pnpm install --silent --ignore-workspace --no-lockfile
fi
#fi

node --experimental-strip-types --no-warnings src/main.ts "$@"

0 comments on commit 505d8f8

Please sign in to comment.