summaryrefslogtreecommitdiff
path: root/main/src/mill/main/ReplApplyHandler.scala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/mill/main/ReplApplyHandler.scala')
-rw-r--r--main/src/mill/main/ReplApplyHandler.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/mill/main/ReplApplyHandler.scala b/main/src/mill/main/ReplApplyHandler.scala
index 2cf0c6f1..af69c761 100644
--- a/main/src/mill/main/ReplApplyHandler.scala
+++ b/main/src/mill/main/ReplApplyHandler.scala
@@ -16,7 +16,8 @@ object ReplApplyHandler{
colors: ammonite.util.Colors,
pprinter0: pprint.PPrinter,
rootModule: mill.define.BaseModule,
- discover: Discover[_]) = {
+ discover: Discover[_],
+ debugLog: Boolean) = {
new ReplApplyHandler(
pprinter0,
new Evaluator(
@@ -32,7 +33,7 @@ object ReplApplyHandler{
System.err,
System.err,
System.in,
- debugEnabled = false
+ debugEnabled = debugLog
)
)
)