Skip to content

Commit 39d2603

Browse files
committed
workaround for scala/scala3#12588
1 parent 0702af8 commit 39d2603

File tree

1 file changed

+2
-0
lines changed
  • importer-portable/src/main/scala/org/scalablytyped/converter/internal/importer

1 file changed

+2
-0
lines changed

importer-portable/src/main/scala/org/scalablytyped/converter/internal/importer/Phase3Compile.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ class Phase3Compile(
106106
if (existing.all.values.forall(files.exists)) {
107107
logger.warn(s"Using cached build $jarFile")
108108
PhaseRes.Ok(PublishedSbtProject(sbtProject)(compilerPaths.classesDir, existing, None))
109+
} else if (allFilesProperVersion.sourcesDir.size > 5500 && versions.scala.is3) { // todo
110+
PhaseRes.Failure(Map(source -> Right("too many files")))
109111
} else {
110112

111113
files.deleteAll(compilerPaths.classesDir)

0 commit comments

Comments
 (0)