Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SunboX/Prism.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorDan Siegel <me@dansiegel.net>2017-05-22 06:17:37 +0300
committerDan Siegel <me@dansiegel.net>2017-05-22 06:17:37 +0300
commit50b702b8974aec081bfa5cb36aac7b20d8c7ee7e (patch)
tree3a73f06edccab3ade83bc7c502e0634f878bdfcd /Source
parentc3f2b3c1b8915e953e38dcc75a6d017d18f5af91 (diff)
splitting invoke command
Diffstat (limited to 'Source')
-rw-r--r--Source/nuspecs/nuget.ps13
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)