Skip to content

Commit

Permalink
DIST-10392 FIX test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
harishpatankar committed Sep 6, 2023
1 parent d9e8cf4 commit 8aa2fb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/muffin_man.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def initialize(auth_response)
end

class << self
attr_accessor :configuration, :logger
attr_accessor :configuration
end

def self.configure
Expand Down
2 changes: 1 addition & 1 deletion lib/muffin_man/muffin_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module MuffinMan
class MuffinLogger

def self.logger
MuffinMan.configuration.log_with || Logger.new($stdout)
MuffinMan.configuration&.log_with || Logger.new($stdout)
end

%i[debug info warn error fatal].each do |level|
Expand Down

0 comments on commit 8aa2fb5

Please sign in to comment.