Skip to content

Commit

Permalink
fix: dont use cache for update notifier manifest request
Browse files Browse the repository at this point in the history
Ref: #7044
  • Loading branch information
lukekarrys authored and wraithgar committed Dec 6, 2023
1 parent 9754b17 commit c7a592c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils/update-notifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7a592c

Please sign in to comment.