From 6c3e7c389e5cca525438bd3a323d12a9c44cd318 Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Thu, 13 Jun 2024 10:50:45 -0700 Subject: [PATCH] testing Signed-off-by: Brian DeHamer --- dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +;