From 0e18c4dd43dfc9d8cb17e1451ee58c1e6887b525 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Wed, 24 Jun 2020 10:05:05 -0400 Subject: [PATCH] Properly pass format argument to avoid MISSING (#290) #273 --- act/runner/run_context.go | 4 ++-- act/runner/step_context.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/act/runner/run_context.go b/act/runner/run_context.go index a3f49f59..e0e33384 100644 --- a/act/runner/run_context.go +++ b/act/runner/run_context.go @@ -61,9 +61,9 @@ func (rc *RunContext) startJobContainer() common.Executor { rawLogger := common.Logger(ctx).WithField("raw_output", true) logWriter := common.NewLineWriter(rc.commandHandler(ctx), func(s string) bool { if rc.Config.LogOutput { - rawLogger.Infof(s) + rawLogger.Infof("%s", s) } else { - rawLogger.Debugf(s) + rawLogger.Debugf("%s", s) } return true }) diff --git a/act/runner/step_context.go b/act/runner/step_context.go index 66291b73..247a1c05 100644 --- a/act/runner/step_context.go +++ b/act/runner/step_context.go @@ -141,9 +141,9 @@ func (sc *StepContext) newStepContainer(ctx context.Context, image string, cmd [ rawLogger := common.Logger(ctx).WithField("raw_output", true) logWriter := common.NewLineWriter(rc.commandHandler(ctx), func(s string) bool { if rc.Config.LogOutput { - rawLogger.Infof(s) + rawLogger.Infof("%s", s) } else { - rawLogger.Debugf(s) + rawLogger.Debugf("%s", s) } return true })