1
0
Fork 0
mirror of synced 2024-12-04 21:35:34 -05:00

Compare commits

...

2 commits

Author SHA1 Message Date
valentino-sm
a0af4137ef
Merge 8069872776 into 720206578a 2024-05-25 23:01:20 -05:00
valentino-sm
8069872776
Fix bug dispatching by dublicate plugins 2024-01-04 20:51:48 +05:00

View file

@ -19,7 +19,7 @@ class Dispatcher:
self._log = Messenger()
self._setup_context(base_directory, options)
plugins = plugins or []
self._plugins = [plugin(self._context) for plugin in plugins]
self._plugins = [plugin(self._context) for plugin in set(plugins)]
self._only = only
self._skip = skip
self._exit = exit_on_failure