mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
Remove a bit from pre-commit that husky says we should (#4286)
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# 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
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
cd ui/desktop && npx lint-staged
|
||||
else
|
||||
echo "Warning: ui/desktop directory does not exist, skipping lint-staged"
|
||||
|
||||
Reference in New Issue
Block a user