fix(lib/modules/finders/wait): do not log matched cached waits in non-"debug wait" builds

This commit is contained in:
PalmDevs 2025-08-19 21:47:43 +07:00
parent 7b3ede1904
commit 4ed96c8512
No known key found for this signature in database
GPG key ID: 6FAE8F8677ACA8BA

View file

@ -113,7 +113,9 @@ export function waitForModules(
) => {
const flag = reg[id]
DEBUG_logWaitMatched(filter.key, id, flag, true)
if (__BUILD_FLAG_DEBUG_MODULE_WAITS__)
DEBUG_logWaitMatched(filter.key, id, flag, true)
callback(
exportsFromFilterResultFlag(flag, exports, options),
id,