Cache.GetPackageReferences() throws an error when there is a non-package folder in the cache directory.
System.ArgumentOutOfRangeException
Message=Length cannot be less than zero. (Parameter 'length')
Source=System.Private.CoreLib
StackTrace:
at System.String.Substring(Int32 startIndex, Int32 length)
at Firely.Fhir.Packages.DiskPackageCache.parseFoldernameToReference(String foldername)
at Firely.Fhir.Packages.DiskPackageCache.GetPackageReferences()
Cache.GetPackageReferences()
throws an error when there is a non-package folder in the cache directory.Expected: Just ignore the folder.