Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Feb 6, 2025
1 parent 6d5f442 commit d98e656
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions main/define/src/mill/define/Task.scala
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ object Task extends TaskBase {
def Source(value: Result[PathRef])(implicit ctx: mill.define.Ctx): Target[PathRef] =
macro Target.Internal.sourceImpl2


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

Expand Down Expand Up @@ -484,7 +483,7 @@ object Target extends TaskBase {
}

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


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

def sourceImpl3(c: Context)(value: c.Expr[os.SubPath])(ctx: c.Expr[mill.define.Ctx])
: c.Expr[Target[PathRef]] = {
: c.Expr[Target[PathRef]] = {
import c.universe._

val wrapped =
Expand Down

0 comments on commit d98e656

Please sign in to comment.