Deprecate Scope.transformTaskName

This commit is contained in:
Dale Wijnand 2018-03-21 15:53:08 +00:00
parent 27bbde810d
commit 35decb6ee5
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ object Scope {
def showProject012Style = (ref: Reference) => Reference.display(ref) + "/"
@deprecated("No longer used", "1.1.3")
def transformTaskName(s: String) = {
val parts = s.split("-+")
(parts.take(1) ++ parts.drop(1).map(_.capitalize)).mkString