Skip to content

Commit 846521a

Browse files
committed
.
1 parent f15d3ab commit 846521a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

main/define/src/mill/define/Task.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ object Task extends TaskBase {
7878
def Source(value: Result[PathRef])(implicit ctx: mill.define.Ctx): Target[PathRef] =
7979
macro Target.Internal.sourceImpl2
8080

81-
8281
def Source(value: os.SubPath)(implicit ctx: mill.define.Ctx): Target[PathRef] =
8382
macro Target.Internal.sourceImpl3
8483

@@ -484,7 +483,7 @@ object Target extends TaskBase {
484483
}
485484

486485
def sourcesImpl3(c: Context)(values: c.Expr[os.SubPath]*)(ctx: c.Expr[mill.define.Ctx])
487-
: c.Expr[Target[Seq[PathRef]]] = {
486+
: c.Expr[Target[Seq[PathRef]]] = {
488487
import c.universe._
489488
val wrapped =
490489
for (value <- values.toList)
@@ -505,7 +504,6 @@ object Target extends TaskBase {
505504
)
506505
}
507506

508-
509507
def sourceImpl1(c: Context)(value: c.Expr[Result[os.Path]])(ctx: c.Expr[mill.define.Ctx])
510508
: c.Expr[Target[PathRef]] = {
511509
import c.universe._
@@ -546,7 +544,7 @@ object Target extends TaskBase {
546544
}
547545

548546
def sourceImpl3(c: Context)(value: c.Expr[os.SubPath])(ctx: c.Expr[mill.define.Ctx])
549-
: c.Expr[Target[PathRef]] = {
547+
: c.Expr[Target[PathRef]] = {
550548
import c.universe._
551549

552550
val wrapped =

0 commit comments

Comments
 (0)