Skip to content

Commit c7a592c

Browse files
lukekarryswraithgar
authored andcommittedDec 6, 2023
fix: dont use cache for update notifier manifest request
Ref: #7044
1 parent 9754b17 commit c7a592c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lib/utils/update-notifier.js

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const updateCheck = async (npm, spec, version, current) => {
2424
// always prefer latest, even if doing --tag=whatever on the cmd
2525
defaultTag: 'latest',
2626
...npm.flatOptions,
27+
cache: false,
2728
}).catch(() => null)
2829

2930
// if pacote failed, give up

0 commit comments

Comments
 (0)
Please sign in to comment.