fix: allow api-lint-diff to run from a git worktree (#2765)
In a git worktree `.git` is a file (not a directory), so the `-d` test always fails. Switch to `-e` which checks for existence regardless of type. Co-authored-by: Claude <noreply@anthropic.com>
P
Predrag Knezevic committed
8807a64c2ef54d56ad85063a96e0e00b3deb27d5
Parent: 90a99bf
Committed by GitHub <noreply@github.com>
on 6/12/2026, 3:48:00 PM