diff options
author | Dan Siegel <me@dansiegel.net> | 2017-05-22 06:17:37 +0300 |
---|---|---|
committer | Dan Siegel <me@dansiegel.net> | 2017-05-22 06:17:37 +0300 |
commit | 50b702b8974aec081bfa5cb36aac7b20d8c7ee7e (patch) | |
tree | 3a73f06edccab3ade83bc7c502e0634f878bdfcd /Source | |
parent | c3f2b3c1b8915e953e38dcc75a6d017d18f5af91 (diff) |
splitting invoke command
Diffstat (limited to 'Source')
-rw-r--r-- | Source/nuspecs/nuget.ps1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/nuspecs/nuget.ps1 b/Source/nuspecs/nuget.ps1 index 8f529d7..0919bba 100644 --- a/Source/nuspecs/nuget.ps1 +++ b/Source/nuspecs/nuget.ps1 @@ -78,7 +78,8 @@ function Save-NuGetPackage ($project) { return } - Invoke-Expression | ConvertTo-NuGetExpression -nuspecPath $nuspecPath -wpfVersion $wpfVersion -uwpVersion $uwpVersion + $expression = ConvertTo-NuGetExpression -nuspecPath $nuspecPath -wpfVersion $wpfVersion -uwpVersion $uwpVersion + Invoke-Command $expression } if(Test-Path ./Source) |