fix exception thrown when tab completing invalid project name

This commit is contained in:
Mark Harrah 2012-05-21 22:23:44 -04:00
parent 9ee30636b3
commit 9cf2c41fb8
1 changed files with 1 additions and 1 deletions

View File

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