diff --git a/Iceberg/IceMetacelloRepositoryAdapter.class.st b/Iceberg/IceMetacelloRepositoryAdapter.class.st index 0ba29a57fe..d41a0fd3cf 100644 --- a/Iceberg/IceMetacelloRepositoryAdapter.class.st +++ b/Iceberg/IceMetacelloRepositoryAdapter.class.st @@ -132,9 +132,13 @@ IceMetacelloRepositoryAdapter >> isValid [ { #category : 'accessing' } IceMetacelloRepositoryAdapter >> loadPackageNamed: aName intoLoader: aLoader [ - | package | + | package found | package := self repository workingCopy packageNamed: aName. - ^ aLoader addVersion: package latestVersion mcVersion + found := package latestVersion mcVersion. + aLoader addVersion: found. + ^ { + found. + self } ] { #category : 'MonticelloGUI' }