We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2333316 + c295c66 commit 25f4eecCopy full SHA for 25f4eec
project/ScaladocGeneration.scala
@@ -13,13 +13,13 @@ object ScaladocGeneration {
13
value match {
14
case s: String => s"$key ${escape(s)}"
15
case true => s"$key"
16
- case list: List[String @unchecked] => s"$key:${list.map(escape).mkString(",")}"
+ case list: List[_] => s"$key:${list.map(x => escape(x.toString)).mkString(",")}"
17
case _ =>
18
println(s"Unsupported setting: $key -> $value")
19
""
20
}
21
22
- private def escape(s: String) = if(s.contains(" ")) s""""$s"""" else s
+ private def escape(s: String) = if (s.contains(" ")) s""""$s"""" else s
23
24
case class ProjectName(value: String) extends Arg[String] {
25
def key: String = "-project"
0 commit comments