From 9cf2c41fb8eea970a85a6eb52d7afd3ebf19a9f7 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Mon, 21 May 2012 22:23:44 -0400 Subject: [PATCH] fix exception thrown when tab completing invalid project name --- main/Act.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/Act.scala b/main/Act.scala index 7d7d98610..afd53ce83 100644 --- a/main/Act.scala +++ b/main/Act.scala @@ -196,7 +196,7 @@ object Act } def resolvedReference(index: KeyIndex, currentBuild: URI, trailing: Parser[_]): Parser[ResolvedReference] = { - def projectID(uri: URI) = token( examples(ID, index projects uri, "project ID") <~ trailing ) + def projectID(uri: URI) = token( examplesStrict(ID, index projects uri, "project ID") <~ trailing ) def projectRef(uri: URI) = projectID(uri) map { id => ProjectRef(uri, id) } val uris = index.buildURIs