Skip to content

Commit 9f2d86f

Browse files
committed
cleanup
1 parent 4ebcac0 commit 9f2d86f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ TLDR -> `npx playwright install-deps`
1010
Add the following line to your `project/plugins.sbt`
1111
```scala
1212
// For Scala.js 1.x
13-
libraryDependencies += "io.github.thijsbroersen" %% "scala-js-env-playwright" % "0.1.21"
13+
libraryDependencies += "io.github.thijsbroersen" %% "scala-js-env-playwright" % "0.2.2"
1414
```
1515
Add the following line to your `build.sbt`
1616
```scala

src/main/scala/jsenv/playwright/PWEnv.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ class PWEnv(
4646
System.setProperty("playwright.driver.impl", "jsenv.DriverJar")
4747
CEUtils.setupLogger(showLogs, debug)
4848

49-
override def start(input: Seq[Input], runConfig: RunConfig): JSRun = {
50-
println(s"input is : ${input.toList.map(_.toString).mkString("\n")}")
49+
override def start(input: Seq[Input], runConfig: RunConfig): JSRun =
5150
try {
5251
val newRunConfig = runConfig.withEnv(runConfig.env ++ runConfigEnv)
5352
validator.validate(newRunConfig)
@@ -67,7 +66,6 @@ class PWEnv(
6766
scribe.error(s"CEEnv.start failed with $t")
6867
JSRun.failed(t)
6968
}
70-
}
7169

7270
override def startWithCom(
7371
input: Seq[Input],

0 commit comments

Comments
 (0)