Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelsadlo committed Sep 21, 2024
1 parent 838dab0 commit 2947bb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions initmodule/src/mill/initmodule/InitModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package mill.initmodule

import mill.define.{Discover, ExternalModule}
import mill.{Command, Module, T}
import os.Path

import java.io.IOException
import scala.util.{Failure, Success, Try, Using}
Expand Down Expand Up @@ -36,7 +35,7 @@ trait InitModule extends Module {
val msg =
"Run init with one of the following examples as an argument to download and extract example:\n"
val message = msg + exampleIds.mkString("\n")
Success(exampleIds, message)
Success((exampleIds, message))
case Some(value) =>
val result: Try[(Seq[String], String)] = for {
url <- examples.toMap.get(value).toRight(new Exception(
Expand Down

0 comments on commit 2947bb9

Please sign in to comment.