Skip to content

Commit

Permalink
Merge pull request #644 from xuwei-k/PathFinder-get
Browse files Browse the repository at this point in the history
add parentheses `PathFinder.get`
  • Loading branch information
jenshalm authored Oct 18, 2024
2 parents b20b56c + 224c0d6 commit 3785835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sbt/src/main/scala/laika/sbt/Tasks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ object Tasks {
streams.value.log.info(Logs.outputs(tree.root, config.alias))
streams.value.log.info(s"Generated ${config.alias} in $target")

target.allPaths.get.toSet.filter(_.isFile)
target.allPaths.get().toSet.filter(_.isFile)
}

def renderBinary(config: BinaryRendererConfig): Set[File] = {
Expand Down Expand Up @@ -400,7 +400,7 @@ object Tasks {
pathFinderWithParents(downloadPath) ---
pathFinderWithParents(apiPath)

sbt.IO.delete(filesToDelete.get)
sbt.IO.delete(filesToDelete.get())
}

private def pathFinderWithParents(dir: File): PathFinder = {
Expand Down

0 comments on commit 3785835

Please sign in to comment.