Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
always tell sbt which files are generated
Browse files Browse the repository at this point in the history
  • Loading branch information
yanns committed Oct 2, 2015
1 parent 8af91a0 commit eeb4901
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/io/sphere/JsonSchemaInliner.scala
Expand Up @@ -67,7 +67,7 @@ class JsonSchemaInliner(source: File, streams: TaskStreams) {

object JsonSchemaInliner {
def inline(sources: Seq[(File, File)], destinationF: File File, streams: TaskStreams): Seq[File] = {
sources flatMap { case (base, src) =>
sources map { case (base, src) =>
val inliner = new JsonSchemaInliner(src, streams)
val relative = IO.relativizeFile(base, src).getOrElse(src)
val target = destinationF(relative)
Expand All @@ -77,7 +77,7 @@ object JsonSchemaInliner {
|relative: $relative
|target: $target
""".stripMargin)
inliner.inline(target)
inliner.inline(target).getOrElse(target)
}
}
}

0 comments on commit eeb4901

Please sign in to comment.