Change scanRecursively to an Option field

This commit is contained in:
moerfi
2022-01-22 22:14:21 +01:00
parent 39f2f8cc1b
commit a6e79a32a8
3 changed files with 4 additions and 4 deletions

View File

@ -98,7 +98,7 @@ object ScanMailboxTask {
if (acc.noneLeft(name)) acc.pure[F]
else
mailer
.run(impl.handleFolder(theEmil.access, upload)(name, ctx.args.scanRecursively))
.run(impl.handleFolder(theEmil.access, upload)(name, ctx.args.scanRecursively.getOrElse(false)))
.map(_ ++ acc)
Stream