Fix bug where you weren't able to use both the -q and -j flags at the same time #227
1 changed files with 1 additions and 3 deletions
|
@ -20,8 +20,7 @@ export default class OutputHelper {
|
|||
return this.GetFriendlyObjectText(outputObject);
|
||||
}
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
private static GetFriendlyObjectText(object: any): string {
|
||||
private static GetFriendlyObjectText<T>(object: T): string {
|
||||
const output: string[] = [];
|
||||
Vylpes marked this conversation as resolved
Outdated
|
||||
|
||||
Vylpes marked this conversation as resolved
Outdated
VylpesTester
commented
I don't think I like the way this is done, I think it should be how it was before, but when its actually printed to the terminal it should remove the appended new line I don't think I like the way this is done, I think it should be how it was before, but when its actually printed to the terminal it should remove the appended new line
Vylpes
commented
Not exactly sure what this means? It appears to be working fine and looks like that to me Not exactly sure what this means? It appears to be working fine and looks like that to me
|
||||
for (const key in object) {
|
||||
|
@ -30,5 +29,4 @@ export default class OutputHelper {
|
|||
|
||||
return output.join("\n");
|
||||
}
|
||||
/* eslint-enable @typescript-eslint/no-explicit-any */
|
||||
}
|
Loading…
Reference in a new issue
[nitpick] The use of 'any' for the object parameter is not ideal. Consider using a more specific type.