Skip to content

Commit 7c12efd

Browse files
committed
fix: allow to pass inputs to scala3-repl/run
1 parent 9a8746e commit 7c12efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ object Build {
11741174
//val classpath = s"-classpath ${(`scala-library-bootstrapped` / Compile / packageBin).value}"
11751175
// TODO: We should use the val above instead of `-usejavacp` below. SBT crashes we we have a val and we call toTask
11761176
// with it as a parameter. THIS IS NOT A LEGIT USE CASE OF THE `-usejavacp` FLAG.
1177-
(Compile / run).toTask(" -usejavacp").value
1177+
(Compile / run).partialInput(" -usejavacp").evaluated
11781178
},
11791179
bspEnabled := false,
11801180
)

0 commit comments

Comments
 (0)