Skip to content

Commit

Permalink
Fix bug in .logger method in Local and Remote classes
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandro-fazzi committed Dec 13, 2020
1 parent 121cba3 commit 53444e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/wordmove/hook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def empty_step?

class Local
def self.logger
parent.logger
Wordmove::Hook.logger
end

def self.run(command_hash, options, simulate = false)
Expand All @@ -101,7 +101,7 @@ def self.run(command_hash, options, simulate = false)

class Remote
def self.logger
parent.logger
Wordmove::Hook.logger
end

def self.run(command_hash, options, simulate = false)
Expand Down

0 comments on commit 53444e7

Please sign in to comment.