Exclude dev extensions from auto-updates (#14680)
This PR makes it so dev extensions that are installed are excluded when checking for extension updates. We don't want to accidentally clobber dev extensions if the upstream extension is deemed more "up-to-date". Release Notes: - Changed dev extensions to be excluded from extension auto-updates.
This commit is contained in:
parent
5a090bc3f3
commit
84b34677e2
1 changed files with 3 additions and 3 deletions
|
@ -456,9 +456,9 @@ impl ExtensionStore {
|
|||
let extension_ids = self
|
||||
.extension_index
|
||||
.extensions
|
||||
.keys()
|
||||
.map(|id| id.as_ref())
|
||||
.filter(|id| extension_settings.should_auto_update(id))
|
||||
.iter()
|
||||
.filter(|(id, entry)| !entry.dev && extension_settings.should_auto_update(id))
|
||||
.map(|(id, _)| id.as_ref())
|
||||
.collect::<Vec<_>>()
|
||||
.join(",");
|
||||
let task = self.fetch_extensions_from_api(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue