use pnpm for Desktop Electron App (#7679)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user