Skip to content

Commit

Permalink
Run scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouly committed Mar 26, 2021
1 parent 59d4a22 commit 5351b70
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ import sbt._
trait OpenApiDiffKeys {

final val openApiDiffFiles = taskKey[(File, File)]("OpenAPI specification files to diff.")
final val openApiDiff = taskKey[ChangedOpenApi]("Returns the diff between two OpenAPI specifications.")
final val openApiDiff =
taskKey[ChangedOpenApi]("Returns the diff between two OpenAPI specifications.")

final val openApiDiffRenderer = settingKey[Render]("OpenAPI specification diff renderer.")
final val openApiDiffRender = taskKey[String]("Returns the rendered diff between two OpenAPI specifications.")
final val openApiDiffRender =
taskKey[String]("Returns the rendered diff between two OpenAPI specifications.")

}
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-openapi-generator/simple/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ lazy val incompatible = project
IO.write(file("incompatible.diff"), openApiDiffRender.value)
()
}
)
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ sys.props.get("plugin.version") match {
case Some(x) => addSbtPlugin("org.openapitools.openapidiff" % "sbt-openapi-diff" % x)
case _ =>
throw new Exception("The system property 'plugin.version' is not defined.")
}
}
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-openapi-generator/simple/version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version := "0.1.0"
version := "0.1.0"

0 comments on commit 5351b70

Please sign in to comment.