Skip to content
Snippets Groups Projects
Commit 80b55505 authored by Max Howell's avatar Max Howell
Browse files

Ignore spill for certain system paths

parent fe15b9b0
No related branches found
Tags 1.1.5
No related merge requests found
......@@ -170,6 +170,9 @@ begin
spill = events.map { |e| e.files }.flatten
spill.reject! { |f| File.mtime(f) < start }
spill.reject! { |path| path =~ /^#{HOMEBREW_PREFIX}/ }
# irrelevent files that change a lot
spill.reject! { |path| path == "/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist-lock" }
spill.reject! { |path| path == "/System/Library/Caches/com.apple.Components2.SystemCache.Components" }
unless spill.empty?
opoo "Detected installation of files outside the Homebrew prefix:"
puts *spill
......
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