Scalariformed project/Sbt.scala

This commit is contained in:
Josh Suereth 2014-05-07 11:52:49 -04:00
parent 244abd3b6f
commit d034561083
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ object Sbt extends Build {
val pageSize = files.size / page.total
// The last page may loose some values, so we explicitly keep them
val dropped = files.drop(pageSize * (page.page - 1))
if(page.page == page.total) dropped
if (page.page == page.total) dropped
else dropped.take(pageSize)
}
def nameP(group: String) = {