From c117f373e303ad46453e6b801eadd112a578af48 Mon Sep 17 00:00:00 2001 From: confused-Techie Date: Sat, 14 Dec 2024 18:14:10 -0800 Subject: [PATCH] Skip package update checks if we are in `devMode` --- packages/settings-view/lib/package-manager.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/settings-view/lib/package-manager.js b/packages/settings-view/lib/package-manager.js index ae2e13f028..ba62dc3ac2 100644 --- a/packages/settings-view/lib/package-manager.js +++ b/packages/settings-view/lib/package-manager.js @@ -164,7 +164,10 @@ module.exports = class PackageManager { if (clearCache) { this.clearOutdatedCache(); // Short circuit if we have cached data. - } else if (this.apmCache.loadOutdated.value && (this.apmCache.loadOutdated.expiry > Date.now())) { + } else if ( + (this.apmCache.loadOutdated.value && (this.apmCache.loadOutdated.expiry > Date.now())) || + atom.devMode + ) { return callback(null, this.apmCache.loadOutdated.value); }