Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent comment duplication when saving config file. #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

webpigeon
Copy link

For some reason, setting the default value for the config to be {}
This causes the comment below to be duplicated.

Other plugins set sensible defaults or placeholders instead of a blank
dictionary.

This sets defaults based on the ansible (discourse) backend and seems
to prevent the duplication.

For some reason, setting the default value for the config to be `{}`
causes the comment below this to be duplicated. Other plugins seem to
set sensible defaults or placeholders instead.

This sets defaults based on the ansible (discourse) backend.
@webpigeon webpigeon changed the title Bugfix config comment Prevent comment duplication when saving config file. Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant