diff --git a/src/ExternalLibrary/Type/LibraryTypeBase.php b/src/ExternalLibrary/Type/LibraryTypeBase.php index 9774e978e09fd559b0b05be69bc61c870a9d2204..6cd9f59d099c8b3d9f88dca4b27297088b595efe 100644 --- a/src/ExternalLibrary/Type/LibraryTypeBase.php +++ b/src/ExternalLibrary/Type/LibraryTypeBase.php @@ -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); } }