Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
assertNoDuplicates throw with more context (#10419)
When users see errors like ``` Duplicate plugin/preset detected. If you'd like to use two separate instances of a plugin, they need separate names, e.g. plugins: [ ['some-plugin', {}], ['some-plugin', {}, 'some unique name'], ] ``` It can be difficult to determine the source of the conflict, especially in a larger build system. This commit outputs what is known about the plugins that actually conflict, which can be helpful for users to determine the root cause of the conflict. Partially addresses #9778
- Loading branch information
1 parent
a219b6d
commit fa5a40c
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters