fs_leak_logger: use more permissive mkpath.
This avoids a race condition occurring here.
This commit is contained in:
parent
bc9d3afd6e
commit
c560c47202
@ -4,7 +4,7 @@ module Test
|
||||
def self.included(klass)
|
||||
require "find"
|
||||
logdir = HOMEBREW_LIBRARY_PATH.join("tmp")
|
||||
logdir.mkdir unless logdir.directory?
|
||||
logdir.mkpath
|
||||
@@log = File.open(logdir.join("fs_leak.log"), "w")
|
||||
klass.make_my_diffs_pretty!
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user