Skip to content

Commit b7f7a50

Browse files
committed
cleanup
1 parent 1276bd0 commit b7f7a50

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

repl-embedded/src/scala/tools/repl/EmbeddedReplMain.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ class UnshadingClassLoader(parent: ClassLoader) extends ClassLoader(parent) {
6464
*/
6565
object EmbeddedReplMain {
6666
def main(args: Array[String]): Unit = {
67-
// Get the location of the current jar to use as classpath
68-
val codeSource = getClass.getProtectionDomain.getCodeSource
69-
70-
// Add -classpath argument pointing to the shaded jar itself
71-
// This allows the ReplDriver's compiler to find scala.* classes
7267
val argsWithClasspath = if (args.exists(arg => arg == "-classpath" || arg == "-cp")) {
7368
args // Already has classpath
7469
} else {

0 commit comments

Comments
 (0)