-
Notifications
You must be signed in to change notification settings - Fork 905
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-1646) upgrade - skip non-installed packages
Previously, if a package was not installed, during upgrade it would install the package to meet the end state of having a package installed and up to the latest version. However in some cases, it may be desired to have the installation skip those packages and continue on, passing a successful exit code instead of a failure like it would with `--fail-on-not-installed` (which has similar behavior). Provide a feature switch `skipPackageUpgradesWhenNotInstalled` that can be overridden in the upgrade command with either `--skip-if-not-installed` or `--install-if-not-installed` (the later only being necessary when the feature switch has been flipped on).
- Loading branch information
1 parent
e4444ad
commit 6b446a5
Showing
5 changed files
with
26 additions
and
0 deletions.
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
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