File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
core/internal/src/mill/internal Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,12 @@ object Util {
369369 case Some (failure) =>
370370 // If there is an associated `Result.Failure` with no prefix, set the prefix to the
371371 // current `keyPrefix` and prefix `error` with `key`
372- if (failure.tickerPrefix == " " )
372+ if (
373+ failure.tickerPrefix == " " && failure.path == null &&
374+ failure.index < 0 && failure.error.startsWith(" [error]" )
375+ )
376+ failure
377+ else if (failure.tickerPrefix == " " )
373378 failure.copy(error = s " $key ${failure.error}" , tickerPrefix = keyPrefix)
374379 // If there is an associated `Result.Failure` with its own prefix, preserve it
375380 // and chain together a new `Result.Failure` entry representing the current key
You can’t perform that action at this time.
0 commit comments