mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 12:30:08 -06:00
Could this fix #1013?
I'm still a beginner, but a single single quote looked a bit off to me. Could adding another single quote after pre fix this issue?
This commit is contained in:
@@ -67,7 +67,7 @@ xfailif_broken_deep_listdir = pytest.mark.xfail(
|
||||
|
||||
|
||||
def platform_supports_pcre():
|
||||
output = cmd_output(GREP, '-P', "name='pre", 'setup.py', retcode=None)
|
||||
output = cmd_output(GREP, '-P', "name='pre'", 'setup.py', retcode=None)
|
||||
return output[0] == 0 and "name='pre_commit'," in output[1]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user