mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-15 21:40:19 -06:00
Fix prefixed_command_runner_test to not create real directories.
This commit is contained in:
@@ -79,4 +79,8 @@ class PrefixedCommandRunner(object):
|
||||
"""Constructs a new command runner from an existing one by appending
|
||||
`path_end` to the command runner's prefix directory.
|
||||
"""
|
||||
return cls(command_runner.path(path_end), popen=command_runner.__popen)
|
||||
return cls(
|
||||
command_runner.path(path_end),
|
||||
popen=command_runner.__popen,
|
||||
makedirs=command_runner.__makedirs,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user