mirror of https://github.com/sbt/sbt.git
Apply scalafmt to ArgParser.scala
This commit is contained in:
parent
6e534d75cb
commit
a1ec294a6d
|
|
@ -48,7 +48,9 @@ object ArgParser:
|
|||
.optional()
|
||||
.action((x, c) => c.copy(residual = c.residual :+ x)),
|
||||
)
|
||||
OParser.parse(parser, args, LauncherOptions()).map: opts =>
|
||||
val sbtNew = opts.residual.contains("new") || opts.residual.contains("init")
|
||||
opts.copy(sbtNew = sbtNew)
|
||||
OParser
|
||||
.parse(parser, args, LauncherOptions())
|
||||
.map: opts =>
|
||||
val sbtNew = opts.residual.contains("new") || opts.residual.contains("init")
|
||||
opts.copy(sbtNew = sbtNew)
|
||||
end ArgParser
|
||||
|
|
|
|||
Loading…
Reference in New Issue