fix(lib/modules/finders/filters): correct cache key generation for byDependencies

This commit is contained in:
PalmDevs 2025-05-07 17:34:55 +07:00
parent 6407b0518f
commit c0a853b2fb
No known key found for this signature in database
GPG key ID: 6FAE8F8677ACA8BA

View file

@ -255,7 +255,7 @@ function depsToKey(deps: ComparableDependencyMap): string {
else if (Array.isArray(dep)) {
if (dep.l) key += '#'
key += `[${depsToKey(dep)}],`
} else key += `${dep},`
} else key += `${(dep as RelativeDependency).r ? `r${dep.valueOf()}` : dep.valueOf()},`
return key.substring(0, key.length - 1)
}