Skip to content
Snippets Groups Projects
Commit 061ead08 authored by Ryan Jacobs's avatar Ryan Jacobs
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,10 @@ abstract class LibraryTypeBase implements ...@@ -75,7 +75,10 @@ abstract class LibraryTypeBase implements
$this->locatorFactory->createInstance('global')->locate($library); $this->locatorFactory->createInstance('global')->locate($library);
} }
// Also fetch version information. // 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); $library->getVersionDetector($this->detectorFactory)->detectVersion($library);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment