Skip to content

Commit

Permalink
style: Suppress Style/SuperArguments cop
Browse files Browse the repository at this point in the history
  • Loading branch information
mishina2228 committed May 30, 2024
1 parent d2e9872 commit d63288b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/god/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class << self

# Instantiate a new Logger object
def initialize(io = $stdout)
super(io)
super
self.logs = {}
@mutex = Mutex.new
@capture = nil
Expand All @@ -24,7 +24,7 @@ def initialize(io = $stdout)

def level=(lev)
SysLogger.level = SimpleLogger::CONSTANT_TO_SYMBOL[lev] if Logger.syslog
super(lev)
super
end

# Log a message
Expand Down
2 changes: 1 addition & 1 deletion lib/god/system/slash_proc_poller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def self.usable?
end

def initialize(pid)
super(pid)
super
return if @@total_mem

# in K
Expand Down

0 comments on commit d63288b

Please sign in to comment.