mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 13:46:40 +08:00

Sometimes plugins directories will end up with other symlinks (e.g. inside node_modules folders). This logic does not work with deeply nested symlinks, and they are unlikely to be necessary for the plugin to work. Therefore we should only look for symlinks in the top-level of the `plugins` directory