@@ -85,9 +85,10 @@ func (c *Controller) runSingleJob(ctx context.Context, scope *scope, id string,
8585
8686 name := job .PrintableName (id )
8787 scope = scope .extend (job )
88+ logName := strings .Join (append (scope .names , name ), " ❯ " )
8889
8990 if reason := c .skipReason (scope , job , name ); len (reason ) > 0 {
90- log .Skip (name , reason )
91+ log .Skip (logName , reason )
9192
9293 return result .Skip (name )
9394 }
@@ -117,7 +118,7 @@ func (c *Controller) runSingleJob(ctx context.Context, scope *scope, id string,
117118 ExcludeFiles : scope .excludeFiles ,
118119 })
119120 if err != nil {
120- log .Skip (name , err .Error ())
121+ log .Skip (logName , err .Error ())
121122
122123 var skipErr command.SkipError
123124 if errors .As (err , & skipErr ) {
@@ -135,7 +136,7 @@ func (c *Controller) runSingleJob(ctx context.Context, scope *scope, id string,
135136 ctx , cancel = context .WithTimeout (ctx , job .Timeout )
136137 defer cancel ()
137138 }
138- err = c .run (ctx , strings . Join ( append ( scope . names , name ), " ❯ " ) , scope .follow , exec.Options {
139+ err = c .run (ctx , logName , scope .follow , exec.Options {
139140 Root : filepath .Join (c .git .RootPath , scope .root ),
140141 Commands : commands ,
141142 Interactive : job .Interactive && ! scope .opts .DisableTTY ,
0 commit comments