Skip to content

Commit

Permalink
simplify super calls to fix rubocop lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Jun 16, 2024
1 parent 272a309 commit 1300e5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/pkgcraft/error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def initialize(msg = nil)
msg = err[:message]
end

super(msg)
super
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/pkgcraft/logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class PkgcraftLogger < Logger
def level=(severity)
level = Logging.send(:convert_level, severity)
C.pkgcraft_logging_enable(LogCallback, level)
super(severity)
super
end
end

Expand Down

0 comments on commit 1300e5a

Please sign in to comment.