mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
IPVGO: Ensure full name of method is recorded in the possibleLogs list, to be matched later (#1207)
This commit is contained in:
parent
057ccc2a2b
commit
ed59f325ef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user