fix(lib/modules/finders/filters): skip already warned bad withDependencies filters
This commit is contained in:
parent
4f120ea159
commit
8839d43a47
1 changed files with 3 additions and 1 deletions
|
|
@ -182,8 +182,10 @@ function DEBUG_warnBadWithDependenciesFilter(
|
||||||
// already warned
|
// already warned
|
||||||
if (__DEBUG_WARNED_BAD_BY_DEPENDENCIES_FILTERS__.has(deps)) return
|
if (__DEBUG_WARNED_BAD_BY_DEPENDENCIES_FILTERS__.has(deps)) return
|
||||||
|
|
||||||
|
__DEBUG_WARNED_BAD_BY_DEPENDENCIES_FILTERS__.add(deps)
|
||||||
|
|
||||||
nativeLoggingHook(
|
nativeLoggingHook(
|
||||||
`\u001b[33mBad ${withDependencies.name} filter, undefined ID at index ${index} (if intentional, set to null): [${depGenFilterKey(deps)}]\n${getCurrentStack()}\u001b[0m`,
|
`\u001b[33mBad withDependencies filter, undefined ID at index ${index} (if intentional, set to null): [${depGenFilterKey(deps)}]\n${getCurrentStack()}\u001b[0m`,
|
||||||
2,
|
2,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue