IPVGO: Ensure full name of method is recorded in the possibleLogs list, to be matched later (#1207)

This commit is contained in:
Michael Ficocelli 2024-04-09 21:24:57 -04:00 committed by GitHub
parent 057ccc2a2b
commit ed59f325ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1789,10 +1789,10 @@ function getFunctionNames(obj: object, prefix: string): string[] {
for (const [key, value] of Object.entries(obj)) {
if (key === "args") {
continue;
} else if (typeof value == "function") {
} else if (typeof value === "function") {
functionNames.push(prefix + key);
} else if (typeof value == "object") {
functionNames.push(...getFunctionNames(value, key + "."));
} else if (typeof value === "object") {
functionNames.push(...getFunctionNames(value, `${prefix}${key}.`));
}
}
return functionNames;