1
0
Fork 0
mirror of synced 2024-12-04 21:35:34 -05:00
This commit is contained in:
valentino-sm 2024-11-28 23:53:32 +00:00 committed by GitHub
commit 6d3c87554c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ class Dispatcher:
self._log = Messenger() self._log = Messenger()
self._setup_context(base_directory, options) self._setup_context(base_directory, options)
plugins = plugins or [] 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._only = only
self._skip = skip self._skip = skip
self._exit = exit_on_failure self._exit = exit_on_failure