Skip to content

Commit 5977b11

Browse files
authored
Another try to fix pre-commit#1013
Properly changed the string and file referenced to handle single quotes properly inside pcre greps.
1 parent 5590fc7 commit 5977b11

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=Don't", 'CHANGELOG.md', retcode=None)
70+
output = cmd_output(GREP, '-P', "Don't", 'CHANGELOG.md', retcode=None)
7171
return output[0] == 0 and "name='pre_commit'," in output[1]
7272

7373

0 commit comments

Comments
 (0)