aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-25 01:52:07 +0200
committerMarkus Reiter2016-09-25 19:55:34 +0200
commit51504e4383fd0c37d3ca8b5b2ae6f01d59232c46 (patch)
tree6a18ff732a9af752c7321c806e9f5d9addf1ce8f
parent573aea0b3d403dc8154fd181f4f71c2922c754e5 (diff)
downloadbrew-51504e4383fd0c37d3ca8b5b2ae6f01d59232c46.tar.bz2
RuboCop: Style/ClassVars
-rw-r--r--Library/Homebrew/cleanup.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cleanup.rb b/Library/Homebrew/cleanup.rb
index 04a976e55..bb91fa69e 100644
--- a/Library/Homebrew/cleanup.rb
+++ b/Library/Homebrew/cleanup.rb
@@ -4,7 +4,7 @@ require "thread"
module Homebrew
module Cleanup
- @@disk_cleanup_size = 0
+ @disk_cleanup_size = 0
def self.cleanup
cleanup_cellar
@@ -17,11 +17,11 @@ module Homebrew
end
def self.update_disk_cleanup_size(path_size)
- @@disk_cleanup_size += path_size
+ @disk_cleanup_size += path_size
end
def self.disk_cleanup_size
- @@disk_cleanup_size
+ @disk_cleanup_size
end
def self.cleanup_formula(formula)