Commit 061ead08 authored by rjacobs's avatar rjacobs

Issue #2774313 by rjacobs: Revert micro-commit from previous #2774313 merge...

Issue #2774313 by rjacobs: Revert micro-commit from previous #2774313 merge commit to address test failures.
parent 73f8b99e
......@@ -75,7 +75,10 @@ abstract class LibraryTypeBase implements
$this->locatorFactory->createInstance('global')->locate($library);
}
// Also fetch version information.
if ($library->isInstalled() && $library instanceof VersionedLibraryInterface) {
if ($library instanceof VersionedLibraryInterface) {
// @todo Consider if this should be wrapped in some conditional logic
// or exception handling so that version detection errors do not
// prevent a library from being loaded.
$library->getVersionDetector($this->detectorFactory)->detectVersion($library);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment