[ ] ๐ Documentation (updates to the documentation or readme)
[x] ๐ Bug fix (a non-breaking change that fixes an issue)
[ ] ๐ Enhancement (improving an existing functionality)
[ ] โจ New feature (a non-breaking change that adds functionality)
[ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
At module startup, when using the multiple sitemaps feature, currently you will recieve a false positive warning about using root config keys that will be ignored. Even though if you haven't defined them. This was because the check was an Object.keys(config).includes() which always returns true since the module config object is filled with default data.
Fixing this by changing the check to test if the values differ from the default ones.
๐ Linked issue
Resolved #332
โ Type of change
๐ Description
At module startup, when using the multiple sitemaps feature, currently you will recieve a false positive warning about using root config keys that will be ignored. Even though if you haven't defined them. This was because the check was an Object.keys(config).includes() which always returns true since the module
config
object is filled with default data.Fixing this by changing the check to test if the values differ from the default ones.