Updated method \ncc\Manager > PackageManager > processDependency() to only throw an error regarding the dependency not being met if it is not met.

This commit is contained in:
Netkas 2023-01-12 15:00:10 -05:00
parent 2d7e71be84
commit 63560ba64b

View file

@ -626,7 +626,7 @@
throw new NotImplementedException('Dependency source type ' . $dependency->SourceType . ' is not implemented');
}
}
else
elseif(!$dependency_met)
{
throw new MissingDependencyException(sprintf('The dependency %s=%s for %s=%s is not met', $dependency->Name, $dependency->Version, $package->Assembly->Package, $package->Assembly->Version));
}