Skip to content

Commit

Permalink
add parentheses PathFinder.get
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Oct 15, 2024
1 parent 540a5c4 commit 1ae91f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ object ScalaxbCompile {
}
def inputs: (List[File], FilesInfo[ModifiedFileInfo], String) =
(sources.toList, lastModified(sources.toSet).asInstanceOf[FilesInfo[ModifiedFileInfo]], BuildInfo.version)
cachedCompile(inputs)(() => exists((outDir ** "*.scala").get.toSet).asInstanceOf[FilesInfo[PlainFileInfo]])
cachedCompile(inputs)(() => exists((outDir ** "*.scala").get().toSet).asInstanceOf[FilesInfo[PlainFileInfo]])
}
}
4 changes: 2 additions & 2 deletions sbt-scalaxb/src/main/scala/sbtscalaxb/ScalaxbPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ object ScalaxbPlugin extends sbt.AutoPlugin {
sources := {
val xsd = scalaxbXsdSource.value
val wsdl = scalaxbWsdlSource.value
(wsdl ** "*.wsdl").get.sorted ++ (xsd ** "*.xsd").get.sorted
(wsdl ** "*.wsdl").get().sorted ++ (xsd ** "*.xsd").get().sorted
},
clean := {
val outdir = sourceManaged.value
IO.delete((outdir ** "*").get)
IO.delete((outdir ** "*").get())
IO.createDirectory(outdir)
},
scalaxbCombinedPackageNames := {
Expand Down

0 comments on commit 1ae91f1

Please sign in to comment.