Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ df4933f509193b30fb5d0654e2d16776efb9140b

# Scala Steward: Reformat with scalafmt 3.8.4
0d74d14dcb684879af3cc1738418a05d2d9893b9

# Scala Steward: Reformat with scalafmt 3.9.9
030e9c3fc56c060179f2b36ed551b94702d75261
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.9.8"
version = "3.9.9"

preset = default
align.preset = some
Expand Down
4 changes: 2 additions & 2 deletions plugin/src/main/scala/com/github/eikek/sbt/openapi/Part.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ case class Part(cnt: String) {
def ++(p: Part): Part =
render match {
case "" => p
case s =>
case s =>
p.render match {
case "" => this
case s2 => Part(s + "\n" + s2)
Expand Down Expand Up @@ -37,7 +37,7 @@ case class Part(cnt: String) {

def semicolon: Part = render match {
case "" => this
case s =>
case s =>
Part(
s.split('\n').toList.map(l => if (l.endsWith(";")) l else l + ";").mkString("\n")
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sys.props.get("plugin.version") match {
case Some(x) => addSbtPlugin("com.github.eikek" % "sbt-openapi-schema" % x)
case _ =>
case _ =>
sys.error(
"""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sys.props.get("plugin.version") match {
case Some(x) => addSbtPlugin("com.github.eikek" % "sbt-openapi-schema" % x)
case _ =>
case _ =>
sys.error(
"""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sys.props.get("plugin.version") match {
case Some(x) => addSbtPlugin("com.github.eikek" % "sbt-openapi-schema" % x)
case _ =>
case _ =>
sys.error(
"""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sys.props.get("plugin.version") match {
case Some(x) => addSbtPlugin("com.github.eikek" % "sbt-openapi-schema" % x)
case _ =>
case _ =>
sys.error(
"""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
Expand Down