File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
modules/integration/src/test/scala/scala/cli/integration Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,9 @@ trait CoursierScalaInstallationTestHelper {
60
60
val scalaScript = execLine match { case scriptPathRegex(extractedPath) => extractedPath }
61
61
val scalaScriptPath = os.Path (scalaScript)
62
62
val lineToChange = " eval \" ${SCALA_CLI_CMD_BASH[@]}\" \\ "
63
- // FIXME: the way the scala script calls the launcher currently ignores the --debug flag
64
- val newContent = os.read(scalaScriptPath).replace(
65
- lineToChange,
66
- s """ SCALA_CLI_CMD_BASH=(\" \\ \" ${TestUtil .cliPath}\\ \"\")
67
- | $lineToChange""" .stripMargin
68
- )
63
+ val changedLine =
64
+ s """ eval \" ${TestUtil .cli.mkString(s " \" \\ ${System .lineSeparator()}" )}\" \\ """
65
+ val newContent = os.read(scalaScriptPath).replace(lineToChange, changedLine)
69
66
os.write.over(scalaScriptPath, newContent)
70
67
scalaBinary -> scalaScriptPath
71
68
}
You can’t perform that action at this time.
0 commit comments