mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-26 00:16:49 +00:00
Don't clear paths when adding a new directory path in PluginLoader
This commit is contained in:
@@ -150,7 +150,6 @@ class PluginLoader(object):
|
||||
def add_directory(self, directory, with_subdir=False):
|
||||
''' Adds an additional directory to the search path '''
|
||||
|
||||
self._paths = None
|
||||
directory = os.path.realpath(directory)
|
||||
|
||||
if directory is not None:
|
||||
|
||||
Reference in New Issue
Block a user