lib/stove/plugins/git.rb in stove-7.1.5 vs lib/stove/plugins/git.rb in stove-7.1.6

- old
+ new

@@ -14,12 +14,12 @@ validate(:up_to_date) do git_null('fetch') local_sha = git_null("rev-parse #{branch}").strip remote_sha = git_null("rev-parse #{remote}/#{branch}").strip - log.debug("Local SHA: #{local_sha}") - log.debug("Remote SHA: #{remote_sha}") + Stove::Log.debug("Local SHA: #{local_sha}") + Stove::Log.debug("Remote SHA: #{remote_sha}") local_sha == remote_sha end run('Tagging new release') do @@ -32,11 +32,11 @@ end private def git(command, errors = true) - log.debug("the command matches") - log.debug("Running `git #{command}', errors: #{errors}") + Stove::Log.debug("the command matches") + Stove::Log.debug("Running `git #{command}', errors: #{errors}") Dir.chdir(cookbook.path) do response = %x|git #{command}| if errors && !$?.success? raise Error::GitTaggingFailed.new(command: command) if command =~ /^tag/