You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
Chore: Change the return type of shim.fsDriver()
from any
to FsDriverBase
(#9460)
This commit is contained in:
@ -31,8 +31,8 @@ export async function installDefaultPlugins(service: PluginService, defaultPlugi
|
||||
|
||||
const installedPlugins = Setting.value('installedDefaultPlugins');
|
||||
|
||||
for (let pluginId of defaultPluginsPaths) {
|
||||
pluginId = pluginId.path;
|
||||
for (const pluginStat of defaultPluginsPaths) {
|
||||
const pluginId = pluginStat.path;
|
||||
|
||||
// if pluginId is present in 'installedDefaultPlugins' array or it doesn't have default plugin ID, then we won't install it again as default plugin
|
||||
if (installedPlugins.includes(pluginId) || !defaultPluginsId.includes(pluginId)) continue;
|
||||
|
Reference in New Issue
Block a user