-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide helpful error message if users try to manipulate packages wit…
…hout specifying any If a user tries to use `-AddPackages` or `-ReplacePackages` with a StoreBroker payload that doesn't contain any, they end up with a literal `null` entry in the `applicationPackages` list due to how we manipulate the submission object. This then results in an error with the API. We should actually be catching this scenario during patching time, and providing users a helpful error message letting them know that they should check their input parameters to `New-SubmissionPackage` so that they know how to recover.
- Loading branch information
1 parent
6a2884d
commit e1aa2d3
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters