Skip to content

Commit

Permalink
Fix broken logging when -Message array includes a format operation. (#…
Browse files Browse the repository at this point in the history
…102)

Fix broken logging when -Message array includes a format operation.
  • Loading branch information
Daniel Belcher authored Feb 5, 2018
1 parent 97ffc8a commit 95b2cd9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion StoreBroker/StoreBroker.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
CompanyName = 'Microsoft Corporation'
Copyright = 'Copyright (C) Microsoft Corporation. All rights reserved.'

ModuleVersion = '1.14.1'
ModuleVersion = '1.14.2'
Description = 'Provides command-line access to the Windows Store Submission REST API.'

RootModule = 'StoreIngestionApi'
Expand Down
4 changes: 2 additions & 2 deletions StoreBroker/StoreIngestionApplicationApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ function Update-ApplicationSubmission
"or by running this command:",
" Get-ApplicationSubmission -AppId $AppId -SubmissionId $submissionId | Format-ApplicationSubmission",
"",
$script:manualPublishWarning -f 'Update-ApplicationSubmission')
($script:manualPublishWarning -f 'Update-ApplicationSubmission'))

if (![System.String]::IsNullOrEmpty($PackagePath))
{
Expand Down Expand Up @@ -1822,7 +1822,7 @@ function Complete-ApplicationSubmission
"You can automatically monitor this submission with this command:",
" Start-ApplicationSubmissionMonitor -AppId $AppId -SubmissionId $submissionId -EmailNotifyTo $env:username",
"",
$script:manualPublishWarning -f 'Update-ApplicationSubmission')
($script:manualPublishWarning -f 'Update-ApplicationSubmission'))
}
catch [System.InvalidOperationException]
{
Expand Down
4 changes: 2 additions & 2 deletions StoreBroker/StoreIngestionFlightingApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ function Update-ApplicationFlightSubmission
"or by running this command:",
" Get-ApplicationFlightSubmission -AppId $AppId -FlightId $FlightId -SubmissionId $submissionId | Format-ApplicationFlightSubmission",
"",
$script:manualPublishWarning -f 'Update-ApplicationFlightSubmission')
($script:manualPublishWarning -f 'Update-ApplicationFlightSubmission'))

if (![System.String]::IsNullOrEmpty($PackagePath))
{
Expand Down Expand Up @@ -1892,7 +1892,7 @@ function Complete-ApplicationFlightSubmission
"You can automatically monitor this submission with this command:",
" Start-ApplicationFlightSubmissionMonitor -AppId $AppId -Flight $FlightId -SubmissionId $submissionId -EmailNotifyTo $env:username",
"",
$script:manualPublishWarning -f 'Update-ApplicationFlightSubmission')
($script:manualPublishWarning -f 'Update-ApplicationFlightSubmission'))
}
catch [System.InvalidOperationException]
{
Expand Down
4 changes: 2 additions & 2 deletions StoreBroker/StoreIngestionIapApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ function Update-InAppProductSubmission
"or by running this command:",
" Get-InAppProductSubmission -IapId $IapId -SubmissionId $submissionId | Format-InAppProductSubmission",
"",
$script:manualPublishWarning -f 'Update-InAppProductSubmission')
($script:manualPublishWarning -f 'Update-InAppProductSubmission'))

if (![System.String]::IsNullOrEmpty($PackagePath))
{
Expand Down Expand Up @@ -1883,7 +1883,7 @@ function Complete-InAppProductSubmission
"You can automatically monitor this submission with this command:",
" Start-InAppProductSubmissionMonitor -IapId $IapId -SubmissionId $submissionId -EmailNotifyTo $env:username",
"",
$script:manualPublishWarning -f 'Update-InAppProductSubmission')
($script:manualPublishWarning -f 'Update-InAppProductSubmission'))
}
catch [System.InvalidOperationException]
{
Expand Down

0 comments on commit 95b2cd9

Please sign in to comment.