Skip to content

Commit cd1687b

Browse files
[autofix.ci] apply automated fixes
1 parent 48b0d01 commit cd1687b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

runner/meta/src/mill/meta/CodeGen.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ object CodeGen {
3030
// Provide `build` as an alias to the root `build_.package_`, since from the user's
3131
// perspective it looks like they're writing things that live in `package build`,
3232
// but at compile-time we rename things, we so provide an alias to preserve the fiction
33-
val aliasImports = "import build_.{package_ => build}"
33+
3434

3535
for (scriptPath <- scriptSources) {
3636
val scriptFolderPath = scriptPath / os.up
@@ -83,8 +83,6 @@ object CodeGen {
8383

8484
val markerComment = s"///SOURCE_CODE_START:$scriptPath" + strippedPackageStatementComment
8585

86-
87-
8886
val siblingScripts = scriptSources
8987
.filter(_ != scriptPath)
9088
.filter(p => (p / os.up) == (scriptPath / os.up))

runner/meta/src/mill/meta/FileImportGraph.scala

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ import mill.internal.Util.backtickWrap
1717
* @param metaBuild If `true`, a meta-build is enabled
1818
*/
1919
@internal
20-
case class FileImportGraph(seenScripts: Map[os.Path, String],
21-
errors: Seq[String],
22-
seenPkgStatements: Map[os.Path, String])
20+
case class FileImportGraph(
21+
seenScripts: Map[os.Path, String],
22+
errors: Seq[String],
23+
seenPkgStatements: Map[os.Path, String]
24+
)
2325

2426
/**
2527
* Logic around traversing the `import $file` graph, extracting necessary info

0 commit comments

Comments
 (0)