Skip to content
Snippets Groups Projects
Commit 4efdbbde authored by Markus Reiter's avatar Markus Reiter
Browse files

Rename `fs_leak_log` to `fs_leak.log` and move to `tmp`.

parent e3be9c06
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ module Homebrew
Homebrew.failed = !$?.success?
if (fs_leak_log = HOMEBREW_LIBRARY/"Homebrew/test/fs_leak_log").file?
if (fs_leak_log = HOMEBREW_LIBRARY_PATH/"tmp/fs_leak.log").file?
fs_leak_log_content = fs_leak_log.read
unless fs_leak_log_content.empty?
opoo "File leak is detected"
......
......@@ -43,7 +43,7 @@ module Homebrew
module FSLeakLogger
def self.included(klass)
require "find"
@@log = File.open("#{__dir__}/fs_leak_log", "w")
@@log = File.open(HOMEBREW_LIBRARY_PATH/"tmp/fs_leak.log", "w")
klass.make_my_diffs_pretty!
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment