Skip to content

Commit

Permalink
CR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardWolosky committed Nov 10, 2017
1 parent 4890c17 commit 6669d32
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion StoreBroker/Helpers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function Initialize-HelpersGlobalVariables
$documentsFolder = [System.Environment]::GetFolderPath('MyDocuments')
if (-not [System.String]::IsNullOrEmpty($documentsFolder))
{
$global:SBLogPath = (Join-Path -Path $documentsFolder -ChildPath 'StoreBroker.log')
$global:SBLogPath = Join-Path -Path $documentsFolder -ChildPath 'StoreBroker.log'
}
else
{
Expand Down
6 changes: 3 additions & 3 deletions StoreBroker/StoreIngestionApplicationApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1082,10 +1082,10 @@ function Update-ApplicationSubmission
$output = @()
$output += "The config file used to generate this submission did not have an AppId defined in it."
$output += "The AppId entry in the config helps ensure that payloads are not submitted to the wrong application."
$output += "Please update your app's StoreBroker config file by adding an ""appId"" property with"
$output += "your app's AppId to the ""appSubmission"" section. If you're unclear on what change"
$output += "Please update your app's StoreBroker config file by adding an `"appId`" property with"
$output += "your app's AppId to the `"appSubmission`" section. If you're unclear on what change"
$output += "needs to be done, you can re-generate your config file using"
$output += " ""New-StoreBrokerConfigFile -AppId $AppId -Path ""$configPath"""
$output += " New-StoreBrokerConfigFile -AppId $AppId -Path `"$configPath`""
$output += "and then diff the new config file against your current one to see the requested appId change."
Write-Log $($output -join [Environment]::NewLine) -Level Warning
}
Expand Down
7 changes: 4 additions & 3 deletions StoreBroker/StoreIngestionFlightingApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1288,9 +1288,10 @@ function Update-ApplicationFlightSubmission
$output = @()
$output += "The config file used to generate this submission did not have an AppId defined in it."
$output += "The AppId entry in the config helps ensure that payloads are not submitted to the wrong application."
$output += "Please update your app's StoreBroker config file by adding an ""appId"" property with"
$output += "your app's AppId to the ""appSubmission"" section. If you're unclear on what change"
$output += "needs to be done, you can re-generate your config file using ""New-PackageToolConfigFile -AppId $AppId -Path ""$configPath"""
$output += "Please update your app's StoreBroker config file by adding an `"appId`" property with"
$output += "your app's AppId to the `"appSubmission`" section. If you're unclear on what change"
$output += "needs to be done, you can re-generate your config file using"
$output += " New-PackageToolConfigFile -AppId $AppId -Path `"$configPath`""
$output += "and then diff the new config file against your current one to see the requested appId change."
Write-Log $($output -join [Environment]::NewLine) -Level Warning
}
Expand Down
6 changes: 3 additions & 3 deletions StoreBroker/StoreIngestionIapApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1315,10 +1315,10 @@ function Update-InAppProductSubmission
$output = @()
$output += "The config file used to generate this submission did not have an IapId defined in it."
$output += "The IapId entry in the config helps ensure that payloads are not submitted to the wrong In-App Product."
$output += "Please update your app's StoreBroker config file by adding an ""iapId"" property with"
$output += "your IAP's IapId to the ""iapSubmission"" section. If you're unclear on what change"
$output += "Please update your app's StoreBroker config file by adding an `"iapId`" property with"
$output += "your IAP's IapId to the `"iapSubmission`" section. If you're unclear on what change"
$output += "needs to be done, you can re-generate your config file using"
$output += " ""New-StoreBrokerInAppProductConfigFile -IapId $IapId -Path ""$configPath"""
$output += " New-StoreBrokerInAppProductConfigFile -IapId $IapId -Path `"$configPath`""
$output += "and then diff the new config file against your current one to see the requested iapId change."
Write-Log $($output -join [Environment]::NewLine) -Level Warning
}
Expand Down

0 comments on commit 6669d32

Please sign in to comment.