summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-10 09:32:19 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-10 09:38:12 -0800
commit31da68db49d95d8863f34392adf604df538d8cd5 (patch)
tree633cdfeaa94728623ca66d921466cc2cfef4ea38 /main
parent2e80b3ae15466ea82a4f8ffa016dee1ee8a62825 (diff)
downloadmill-31da68db49d95d8863f34392adf604df538d8cd5.tar.gz
mill-31da68db49d95d8863f34392adf604df538d8cd5.tar.bz2
mill-31da68db49d95d8863f34392adf604df538d8cd5.zip
fix docs
Diffstat (limited to 'main')
-rw-r--r--main/src/mill/main/ReplApplyHandler.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/mill/main/ReplApplyHandler.scala b/main/src/mill/main/ReplApplyHandler.scala
index 76ef354f..eac0c7f0 100644
--- a/main/src/mill/main/ReplApplyHandler.scala
+++ b/main/src/mill/main/ReplApplyHandler.scala
@@ -78,8 +78,8 @@ object ReplApplyHandler{
}
pprint.Tree.Lazy(ctx =>
Iterator(
- t.toString, "(", t.ctx.fileName, ":", t.ctx.lineNum.toString, ")",
- t.ctx.lineNum.toString, "\n", ctx.applyPrefixColor("Inputs:").toString
+ t.toString, "(", t.ctx.fileName.split('/').last, ":", t.ctx.lineNum.toString, ")",
+ "\n", ctx.applyPrefixColor("Inputs:").toString
) ++ t.inputs.iterator.flatMap(rec).map("\n " + _.render)
)
}