Skip to content

Commit e9e665d

Browse files
authored
Could this fix pre-commit#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?
1 parent c97dfb2 commit e9e665d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def broken_deep_listdir(): # pragma: no cover (platform specific)
6767

6868

6969
def platform_supports_pcre():
70-
output = cmd_output(GREP, '-P', "name='pre", 'setup.py', retcode=None)
70+
output = cmd_output(GREP, '-P', "name='pre'", 'setup.py', retcode=None)
7171
return output[0] == 0 and "name='pre_commit'," in output[1]
7272

7373

0 commit comments

Comments
 (0)