diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b4a469..2c5050e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: run: mill __.compile - name: Test - run: mill project.test + run: mill __.test publish: if: github.repository == 'Quafadas/live-server-scala-cli-js' && contains(github.ref, 'refs/tags/') diff --git a/routes/src/app.route.scala b/routes/src/app.route.scala index 35e60bc..80a8ad7 100644 --- a/routes/src/app.route.scala +++ b/routes/src/app.route.scala @@ -15,15 +15,11 @@ import org.http4s.Status def appRoute[F[_]: Files: MonadThrow](stringPath: String)(using f: Async[F]): HttpRoutes[F] = HttpRoutes.of[F] { case req @ GET -> Root / fName ~ "js" => - println(stringPath) - println(req.uri.path.renderString) StaticFile .fromPath(fs2.io.file.Path(stringPath) / req.uri.path.renderString, Some(req)) .getOrElseF(f.pure(Response[F](Status.NotFound))) case req @ GET -> Root / fName ~ "map" => - println(req.uri.path.renderString) - println(req.uri.path.renderString) StaticFile .fromPath(fs2.io.file.Path(stringPath) / req.uri.path.renderString, Some(req)) .getOrElseF(f.pure(Response[F](Status.NotFound))) diff --git a/sjsls/test/src/liveServer.test.scala b/sjsls/test/src/liveServer.test.scala index bf5c228..99f75df 100644 --- a/sjsls/test/src/liveServer.test.scala +++ b/sjsls/test/src/liveServer.test.scala @@ -98,7 +98,6 @@ trait PlaywrightTest extends CatsEffectSuite: os.makeDir(staticDir) os.write.over(tempDir / "hello.scala", helloWorldCode("Hello")) os.write.over(staticDir / "index.less", "h1{color:red}") - println(vanilla.render) os.write.over(staticDir / "index.html", vanilla.render) (tempDir, staticDir) }.flatTap {