Skip to content

Commit

Permalink
Merge pull request #176 from gokyo/patch-4
Browse files Browse the repository at this point in the history
Removing non-necessary variable name
  • Loading branch information
eed3si9n authored Sep 3, 2021
2 parents c3dc170 + 4bf292a commit 5348537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/sbtbuildinfo/ScalaRenderer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ abstract class ScalaRenderer extends BuildInfoRenderer {
case x: Symbol => s"""scala.Symbol("${x.name}")"""
case x: Long => x.toString + "L"
case node: scala.xml.NodeSeq if node.toString().trim.nonEmpty => node.toString()
case node: scala.xml.NodeSeq => "scala.xml.NodeSeq.Empty"
case _: scala.xml.NodeSeq => "scala.xml.NodeSeq.Empty"
case (k, _v) => "(%s -> %s)" format(quote(k), quote(_v))
case mp: Map[_, _] => mp.toList.map(quote(_)).mkString("Map(", ", ", ")")
case seq: collection.Seq[_] => seq.map(quote).mkString("scala.collection.immutable.Seq(", ", ", ")")
Expand Down

0 comments on commit 5348537

Please # to comment.