doctor: warn when .env exists but is not gitignored#67
Conversation
Signed-off-by: SAY-5 <saiasish.cnp@gmail.com>
|
Someone is attempting to deploy a commit to the Evero Team on Vercel. A member of the Team first needs to authorize it. |
|
The This PR's change is limited to (The Vercel deploy failure is a fork-PR auth boundary, same on every fork PR.) |
187bc70 to
383e7fe
Compare
Closes #39. Extends doctor's existing
.gitignorecheck to recognize wildcard patterns (*.env,**/.env,.env*, etc.) by delegating togit check-ignorewhen a repo is present, and falling back to a broader text scan otherwise. Adds five unit tests covering exact-match, wildcard, double-star glob, missing-entry, and comment-only fallback cases.