mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Detect INSTALL_FAILED_VERSION_DOWNGRADE and uninstall automatically.
This commit is contained in:
parent
2c6a836299
commit
86c3e98b6d
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ module.exports = syrup.serial()
|
|||
.catch(function(err) {
|
||||
switch (err.code) {
|
||||
case 'INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES':
|
||||
case 'INSTALL_FAILED_VERSION_DOWNGRADE':
|
||||
log.info(
|
||||
'Uninstalling "%s" first due to inconsistent certificates'
|
||||
, pkg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue