use pnpm for Desktop Electron App (#7679)

This commit is contained in:
Lifei Zhou
2026-03-11 08:46:05 -04:00
committed by GitHub
parent a28c306b23
commit 02bc7ed745
20 changed files with 13856 additions and 21417 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Only auto-format desktop TS code if relevant files are modified
if git diff --cached --name-only | grep -q "^ui/desktop/"; then
if [ -d "ui/desktop" ]; then
cd ui/desktop && npx lint-staged
cd ui/desktop && pnpm exec lint-staged
else
echo "Warning: ui/desktop directory does not exist, skipping lint-staged"
fi