Apply scalafmt to ArgParser.scala

This commit is contained in:
bitloi 2026-02-16 00:12:18 +01:00
parent 6e534d75cb
commit a1ec294a6d
1 changed files with 5 additions and 3 deletions

View File

@ -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