New line the return statement
All checks were successful
Test / build (push) Successful in 8s

This commit is contained in:
Ethan Lane 2024-10-18 19:12:16 +01:00
parent 49d986de05
commit 3b284484c2

View file

@ -23,7 +23,8 @@ export default class OutputHelper {
/* eslint-disable @typescript-eslint/no-explicit-any */
private static GetFriendlyObjectText(object: any, output: string, prefix: string = ""): string {
for (const key in object) {
if (typeof(object[key]) == "object") return this.GetFriendlyObjectText(object[key], output, `${key}.`);
if (typeof(object[key]) == "object")
return this.GetFriendlyObjectText(object[key], output, `${key}.`);
output += `${prefix}${key} = ${object[key]}\n`;
}
@ -33,7 +34,6 @@ export default class OutputHelper {
private static AppendObject(a: any, b: any, target: string): any {
a[target] = { ...b };
return a;
}
/* eslint-enable @typescript-eslint/no-explicit-any */
}