From 912964441f30d8366164dadbd7ec71f190de64bd Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 3 Jun 2021 10:01:00 -0700 Subject: [PATCH] Update lib/utils/update-notifier.js Co-authored-by: Gar --- lib/utils/update-notifier.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/update-notifier.js b/lib/utils/update-notifier.js index 080554b511ca5..ed5806ced2a7d 100644 --- a/lib/utils/update-notifier.js +++ b/lib/utils/update-notifier.js @@ -121,5 +121,5 @@ module.exports = async npm => { const notification = await updateNotifier(npm) // intentional. do not await this. it's a best-effort update. updateTimeout(npm) - return notification + npm.updateNotification = notification }