Skip to content

Commit 1c2be6a

Browse files
committed
Remove old Scala 2 compiler option
1 parent 7c06d48 commit 1c2be6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/scala/scalascriptprovider/ScalaHelper.scala

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import java.util.function.Consumer
1111
class ScalaHelper:
1212
def compile(errorFn: Consumer[java.lang.String], outputDirectory: String, sourcePath: String, classPath: String, sourceFileName: String): Boolean =
1313
val args = Array(
14-
"-g:source",
1514
"-d", outputDirectory,
1615
"-sourcepath", sourcePath,
1716
"-classpath", classPath,
@@ -29,4 +28,4 @@ class ScalaHelper:
2928
errorFn.accept("Error(s) while compiling scala script:")
3029
reporter.allErrors.foreach(d => errorFn.accept(diagnosticToString(d)))
3130

32-
!reporter.hasErrors
31+
!reporter.hasErrors

0 commit comments

Comments
 (0)