Skip to content

Commit

Permalink
Add API generation 4
Browse files Browse the repository at this point in the history
  • Loading branch information
tom91136 committed Oct 28, 2022
1 parent b26db93 commit 4fea9ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/src/main/scala/uob_hpc/snapshots/Generator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ object Generator {
val parent = Files.createDirectories(Paths.get(config.name))
println(s"Generating static APIs ($builds files) in $parent")
builds.foreach { case (name, b) =>
writeText(Pickler.write(b), parent.resolve(name))
writeText(Pickler.write(b), parent.resolve(s"$name.json"))
}
println("API generated")
}
Expand Down

0 comments on commit 4fea9ce

Please sign in to comment.