Closed sirbrillig closed 1 year ago
git status on a tracked, unchanged file will return an empty string. A regression in the refactoring of the git module made this return an exception. This PR fixes the issue by removing the guard.
git status
This also adds tests to guard against this bug.
Fixes https://github.com/sirbrillig/phpcs-changed/issues/89
git status
on a tracked, unchanged file will return an empty string. A regression in the refactoring of the git module made this return an exception. This PR fixes the issue by removing the guard.This also adds tests to guard against this bug.
Fixes https://github.com/sirbrillig/phpcs-changed/issues/89