Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes the task name when using aliases so that the casing is correct

  • Loading branch information...
commit 9098c891c5ffd243846da0491db1bce6217e538a 1 parent 560bfb2
@pedroreys pedroreys authored committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 psake.psm1
View
4 psake.psm1
@@ -35,8 +35,8 @@ function Invoke-Task
$taskKey = $taskName.ToLower()
if ($currentContext.aliases.Contains($taskKey)) {
- $taskKey = $currentContext.aliases.$taskKey.Name.ToLower()
- $taskName = $taskKey
+ $taskName = $currentContext.aliases.$taskKey.Name
+ $taskKey = $taskName.ToLower()
}
$currentContext = $psake.context.Peek()
Please sign in to comment.
Something went wrong with that request. Please try again.