From 4e044e35ab6d19451ba9853f60731295a56c6163 Mon Sep 17 00:00:00 2001 From: Philip Harrison Date: Fri, 1 Dec 2023 09:57:26 +0000 Subject: [PATCH] fix Signed-off-by: Philip Harrison --- lib/registry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/registry.js b/lib/registry.js index 21e25e9d..0e83edf1 100644 --- a/lib/registry.js +++ b/lib/registry.js @@ -136,7 +136,7 @@ class RegistryFetcher extends Fetcher { /* XXX add ETARGET and E403 revalidation of cached packuments here */ // add _time from packument if fetched with fullMetadata - const time = packument.time?.[mani.version] + const time = packument.time?.[mani.version] if (time) { mani._time = time }