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

Do not fail to parse a multi-bar config #1157

Merged
merged 1 commit into from Jul 14, 2021
Merged

Do not fail to parse a multi-bar config #1157

merged 1 commit into from Jul 14, 2021

Conversation

ghost
Copy link

@ghost ghost commented Jul 10, 2021

Fixes #1152.

@colemickens
Copy link
Contributor

I don't want to hold up this fix being merged but it'd be great to have a test here to prevent regressions in the future.

@ghost
Copy link
Author

ghost commented Jul 11, 2021

I wonder if there is a test suite? Looking everywhere I can find only that Waybar is built, but not tested.

}
} else {
spdlog::error("Cannot merge config, conflicting or invalid JSON types");
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I should overwrite A with B here, because B is the config which called the include and A the configs included so far?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep the error, and if it's happened let's overwrite A with B

@Alexays
Copy link
Owner

Alexays commented Jul 14, 2021

Thanks for the fix!

@Alexays Alexays merged commit 91cdf80 into Alexays:master Jul 14, 2021
@ghost ghost deleted the multi-bar-fix branch July 16, 2021 18:15
@ghost ghost mentioned this pull request Sep 14, 2021
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.

Configuration of multiple outputs fails
2 participants