Skip to content

Commit

Permalink
fix procedure syntax in build file
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Nov 4, 2024
1 parent 1390fc3 commit 576d18e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project/GenerateAnyVals.scala
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ override def getClass(): Class[Boolean] = ???
}

object GenerateAnyVals {
def run(outDir: java.io.File) {
def run(outDir: java.io.File): Unit = {
val av = new GenerateAnyVals

av.make() foreach { case (name, code ) =>
Expand Down
2 changes: 1 addition & 1 deletion project/GenerateDocsData.scala
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ object GenerateDocsData {
import java.nio.charset.StandardCharsets.UTF_8

// output a descriptor of compiler options for docs.scala-lang/_data
def run(outDir: File) {
def run(outDir: File): Unit = {
val file = new File(outDir, "compiler-options.yml")
val res = new SettingsDescriptor().descriptor
sbt.IO.write(file, res, UTF_8, false)
Expand Down

0 comments on commit 576d18e

Please sign in to comment.