File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1996,13 +1996,13 @@ export async function updatePluginsAfterCoreUpdate(params: {
19961996 return missingIds ;
19971997 } ;
19981998
1999- const missingPayloadIds = await collectMissingPayloadWarnings ( pluginInstallRecords ) ;
1999+ const missingPayloadIdSet = new Set ( await collectMissingPayloadWarnings ( pluginInstallRecords ) ) ;
20002000
20012001 const npmResult = await updateNpmInstalledPlugins ( {
20022002 config : pluginConfig ,
20032003 timeoutMs : params . timeoutMs ,
20042004 updateChannel : params . channel ,
2005- skipIds : new Set ( [ ...syncResult . summary . switchedToNpm , ...missingPayloadIds ] ) ,
2005+ skipIds : new Set ( [ ...syncResult . summary . switchedToNpm , ...missingPayloadIdSet ] ) ,
20062006 skipDisabledPlugins : true ,
20072007 syncOfficialPluginInstalls : true ,
20082008 disableOnFailure : true ,
@@ -2031,7 +2031,7 @@ export async function updatePluginsAfterCoreUpdate(params: {
20312031 } ) ;
20322032 pluginUpdateOutcomes . push (
20332033 ...remainingMissingPayloads
2034- . filter ( ( entry ) => ! missingPayloadIds . includes ( entry . pluginId ) )
2034+ . filter ( ( entry ) => ! missingPayloadIdSet . has ( entry . pluginId ) )
20352035 . map ( ( entry ) : PluginUpdateOutcome => {
20362036 const warning = createPostUpdatePluginWarning ( {
20372037 pluginId : entry . pluginId ,
You can’t perform that action at this time.
0 commit comments