File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
runner/meta/src/mill/meta Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package mill.meta
33import scala .jdk .CollectionConverters .CollectionHasAsScala
44
55import mill .constants .{CodeGenConstants as CGConst }
6- import mill .api .Result
76import mill .internal .Util .backtickWrap
87import pprint .Util .literalize
98import mill .api .daemon .internal .MillScalaParser
@@ -30,7 +29,6 @@ object CodeGen {
3029 // Provide `build` as an alias to the root `build_.package_`, since from the user's
3130 // perspective it looks like they're writing things that live in `package build`,
3231 // but at compile-time we rename things, we so provide an alias to preserve the fiction
33-
3432
3533 for (scriptPath <- scriptSources) {
3634 val scriptFolderPath = scriptPath / os.up
@@ -304,9 +302,6 @@ object CodeGen {
304302
305303 val objectData = parser.parseObjectData(scriptCode)
306304
307- val expectedModuleMsg =
308- if (projectRoot != millTopLevelProjectRoot) " MillBuildRootModule" else " mill.Module"
309-
310305 val newParent =
311306 if (segments.isEmpty) " _root_.mill.util.MainRootModule"
312307 else " _root_.mill.api.internal.SubfolderModule(build.millDiscover)"
@@ -326,7 +321,6 @@ object CodeGen {
326321 |}
327322 | """ .stripMargin
328323
329-
330324 objectData.find(o => o.name.text == " `package`" ) match {
331325 case Some (objectData) =>
332326
You can’t perform that action at this time.
0 commit comments