diff --git a/dist/index.js b/dist/index.js index b2f867e..7d8b462 100644 --- a/dist/index.js +++ b/dist/index.js @@ -11758,7 +11758,7 @@ class OCIImage { // the referrers API but still reports a subjectDigest). const referrersSupported = await __classPrivateFieldGet(this, _OCIImage_client, "f").pingReferrers(); // Manually update the referrers list if the referrers API is not supported. - if (!referrersSupported) { + if (!artifactDescriptor.subjectDigest || !referrersSupported) { // Strip subjectDigest from the artifact descriptor (in case it was returned) /* eslint-disable-next-line @typescript-eslint/no-unused-vars */ const { subjectDigest, ...descriptor } = artifactDescriptor; @@ -94508,4 +94508,4 @@ module.exports = {"i8":"3.0.4"}; /******/ module.exports = __webpack_exports__; /******/ /******/ })() -; \ No newline at end of file +;