From a49872c35d223678023e4bc857dc8c2b59ccb77d Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sat, 5 Feb 2011 21:35:54 -0500 Subject: [PATCH] fix Scope printing when task axis is not Select --- main/Scope.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/Scope.scala b/main/Scope.scala index dcefbf502..f0ce9c5a4 100644 --- a/main/Scope.scala +++ b/main/Scope.scala @@ -59,9 +59,9 @@ object Scope import scope.{project, config, task, extra} val projectPrefix = project.foldStrict(Project.display, "*", ".") val configPrefix = config.foldStrict(display, "*:", ".:") - val taskPostfix = task.foldStrict(" for " + _.label, "", "") + val taskPostfix = task.foldStrict(x => (" for " + x.label) :: Nil, Nil, Nil) val extraPostfix = extra.foldStrict(_.entries.map( _.toString ).toList, Nil, Nil) - val extras = taskPostfix :: extraPostfix + val extras = taskPostfix ::: extraPostfix val postfix = if(extras.isEmpty) "" else extras.mkString("(", ", ", ")") projectPrefix + "/" + configPrefix + sep + postfix }