1
0
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:
Henry Heino
2023-12-06 11:24:00 -08:00
committed by GitHub
parent 48ea014ee0
commit d63fc524bf
6 changed files with 35 additions and 14 deletions

View File

@ -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;