Fix bug dispatching by dublicate plugins
This commit is contained in:
parent
3f9e409669
commit
8069872776
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue