-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor plugin directory validation & deduplication
Updated the logic to check for invalid plugin directories: besides removing those that failed the `stat` operaton, the code now also cleans duplicates. Furthermore, when adding local plugins, it now checks if the plugin directory has already been added to localPluginDirectories, avoiding unnecessary repetition.
1 parent
b12de66
commit d4d8c75
Showing
1 changed file
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters