Fix set-extension-commnand for people who installed extension while this command was misspelled
This commit is contained in:
parent
26df9633b4
commit
207b82cc8b
@ -186,6 +186,17 @@ const ExtensionConfPatch = [
|
||||
manual: false
|
||||
}
|
||||
}
|
||||
}, {
|
||||
forVersion: '5.1.3',
|
||||
updateFn: (userOptions, defaultOptions) => {
|
||||
for (const actionKey in userOptions.actions) {
|
||||
for (const cmdKey in userOptions.actions[actionKey].cmd) {
|
||||
if (userOptions.actions[actionKey].cmd[cmdKey].action === 'set-ExtensionMode') {
|
||||
userOptions.actions[actionKey].cmd[cmdKey].action = 'set-extension-mode';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user