From 1f03017f02b79d5f3e5a9ec32cde4a257d366a2a Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Wed, 6 Dec 2023 14:01:05 -0700 Subject: [PATCH] fix: dont use cache for update notifier manifest request Ref: #7044 --- lib/utils/update-notifier.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils/update-notifier.js b/lib/utils/update-notifier.js index 2c839bfeff843..1b3e21d878b94 100644 --- a/lib/utils/update-notifier.js +++ b/lib/utils/update-notifier.js @@ -24,6 +24,7 @@ const updateCheck = async (npm, spec, version, current) => { // always prefer latest, even if doing --tag=whatever on the cmd defaultTag: 'latest', ...npm.flatOptions, + cache: false, }).catch(() => null) // if pacote failed, give up