From 52df7ce2bd8e6a7d8ff6aeae6e64af4cb5019f9f Mon Sep 17 00:00:00 2001 From: David Bailey Date: Mon, 17 Apr 2023 16:34:48 +0200 Subject: [PATCH] refactor: replace mark_state_change puts with log --- lib/comfpile/artefact.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/comfpile/artefact.rb b/lib/comfpile/artefact.rb index f3ccebc..87dde01 100644 --- a/lib/comfpile/artefact.rb +++ b/lib/comfpile/artefact.rb @@ -269,7 +269,7 @@ module Comfpile private def mark_state_change(state, reason, abort: false) return unless @exit_state.nil? - puts "#{@stage} #{target}: Reached state #{state}: #{reason}" + log "Reached state #{state}: #{reason}" @exit_state = state @reason = reason