Skip to content

Commit 3574a3e

Browse files
authored
Fix broken migration tests on main (#6986)
These were broken since we don't run migration tests by default due to performance concerns, so just fixing them post-breakage
1 parent 53fd1ec commit 3574a3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/api/src/mill/api/internal/SubfolderModule.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ object SubfolderModule {
1515
val prefix = mill.constants.CodeGenConstants.globalPackagePrefix
1616
val stripped = pkg.stripPrefix(prefix)
1717
if (stripped.isEmpty || stripped == ".") Seq.empty
18-
else stripped.stripPrefix(".").split('.').toSeq
18+
else stripped.stripPrefix(".").split('.').map(scala.reflect.NameTransformer.decode).toSeq
1919
}
2020
}
2121

0 commit comments

Comments
 (0)