You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a plugin is added that imports dotbot.plugins (such as dotbot-if) the built-in plugins will be included multiple times and then duplicate execution of the directives.
Example (tested with dotbot version 1.20.1):
With dotbot-if in dotbot-plugins directory, and the following config:
- shell:
- description: Demo shellcommand: echo "Should run once"
$ dotbot/bin/dotbot -c test.conf.yaml -p dotbot-plugins/dotbot-if/if.py
Demo shell [echo "Should run once"]
All commands have been executed
Demo shell [echo "Should run once"]
All commands have been executed
==> All tasks executed successfully
Perhaps the Dispatcher should dedupe the plugin list, or plugin module loading could ignore builtins?
The text was updated successfully, but these errors were encountered:
If a plugin is added that imports
dotbot.plugins
(such as dotbot-if) the built-in plugins will be included multiple times and then duplicate execution of the directives.Example (tested with dotbot version 1.20.1):
With dotbot-if in
dotbot-plugins
directory, and the following config:Perhaps the Dispatcher should dedupe the plugin list, or plugin module loading could ignore builtins?
The text was updated successfully, but these errors were encountered: