forked from chocolatey/choco
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chocolatey#3292) Ensure pre-release flag is used for parent lookup
These changes makes sure that we pass along any pre-release flag when there is a pre-release package that is a parent of one of the packages that we are installing, and to verify that the results is not null before we attempt to use it. This ensures that pre-release only packages can be found when we look up the parent, and if by some reason the package can not be found we do not throw an undesired null exception in this case.
- Loading branch information
1 parent
680c1eb
commit 3d10959
Showing
2 changed files
with
41 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