NOISSUE Do not crash when dependencies are customized and conflict
This commit is contained in:
parent
3581f5384f
commit
f413e61cd8
1 changed files with 10 additions and 6 deletions
|
@ -451,6 +451,9 @@ static bool getTrivialComponentChanges(const ComponentIndex & index, const Requi
|
||||||
auto & comp = (*compIter);
|
auto & comp = (*compIter);
|
||||||
if(comp->getVersion() != req.equalsVersion)
|
if(comp->getVersion() != req.equalsVersion)
|
||||||
{
|
{
|
||||||
|
if(comp->isCustom()) {
|
||||||
|
decision = Decision::LockedVersionNotSame;
|
||||||
|
} else {
|
||||||
if(comp->m_dependencyOnly)
|
if(comp->m_dependencyOnly)
|
||||||
{
|
{
|
||||||
decision = Decision::VersionNotSame;
|
decision = Decision::VersionNotSame;
|
||||||
|
@ -459,6 +462,7 @@ static bool getTrivialComponentChanges(const ComponentIndex & index, const Requi
|
||||||
{
|
{
|
||||||
decision = Decision::LockedVersionNotSame;
|
decision = Decision::LockedVersionNotSame;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
decision = Decision::Met;
|
decision = Decision::Met;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue