Skip to content

Commit

Permalink
fix: generate JS in Aqua API properly (#755)
Browse files Browse the repository at this point in the history
fix aqua API for JS
  • Loading branch information
DieMyst authored Jun 15, 2023
1 parent 017eca7 commit 889c507
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/aqua-api/.js/src/main/scala/api/AquaAPI.scala
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ object AquaAPI extends App with Logging {
.find(_.suffix == JavaScriptBackend.dtsExt)
.map(_.content)
jsContent <- c.compiled
.find(_.suffix == JavaScriptBackend.dtsExt)
.find(_.suffix == JavaScriptBackend.ext)
.map(_.content)
} yield GeneratedSource.jsSource(c.sourceId.toString, jsContent, dtsContent)
}.toSourcesResult
Expand Down
7 changes: 2 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
val dottyVersion = "3.3.0"

scalaVersion := dottyVersion

val aquaVersion = "0.11.5"

val scalaV = "3.3.0"
val catsV = "2.8.0"
val catsParseV = "0.3.8"
val monocleV = "3.1.0"
Expand All @@ -21,7 +18,7 @@ val commons = Seq(
val aquaSnapshot = sys.env.getOrElse("SNAPSHOT", "")
if (aquaSnapshot.isEmpty()) aquaVersion else aquaVersion + "-" + aquaSnapshot,
},
scalaVersion := dottyVersion,
scalaVersion := scalaV,
libraryDependencies ++= Seq(
"com.outr" %%% "scribe" % scribeV,
"org.scalatest" %%% "scalatest" % scalaTestV % Test
Expand Down

0 comments on commit 889c507

Please sign in to comment.