Skip to content

Commit 591eb09

Browse files
committed
Use named parameters
1 parent 8e67a4b commit 591eb09

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

core/exec/src/mill/exec/Execution.scala

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -54,24 +54,24 @@ private[mill] case class Execution(
5454
offline: Boolean,
5555
enableTicker: Boolean
5656
) = this(
57-
baseLogger,
58-
new JsonArrayLogger.Profile(os.Path(outPath) / millProfile),
59-
os.Path(workspace),
60-
os.Path(outPath),
61-
os.Path(externalOutPath),
62-
rootModule,
63-
classLoaderSigHash,
64-
classLoaderIdentityHash,
65-
workerCache,
66-
env,
67-
failFast,
68-
ec,
69-
codeSignatures,
70-
systemExit,
71-
exclusiveSystemStreams,
72-
getEvaluator,
73-
offline,
74-
enableTicker
57+
baseLogger = baseLogger,
58+
profileLogger = new JsonArrayLogger.Profile(os.Path(outPath) / millProfile),
59+
workspace = os.Path(workspace),
60+
outPath = os.Path(outPath),
61+
externalOutPath = os.Path(externalOutPath),
62+
rootModule = rootModule,
63+
classLoaderSigHash = classLoaderSigHash,
64+
classLoaderIdentityHash = classLoaderIdentityHash,
65+
workerCache = workerCache,
66+
env = env,
67+
failFast = failFast,
68+
ec = ec,
69+
codeSignatures = codeSignatures,
70+
systemExit = systemExit,
71+
exclusiveSystemStreams = exclusiveSystemStreams,
72+
getEvaluator = getEvaluator,
73+
offline = offline,
74+
enableTicker = enableTicker
7575
)
7676

7777
def withBaseLogger(newBaseLogger: Logger) = this.copy(baseLogger = newBaseLogger)

0 commit comments

Comments
 (0)