remove 2 lint errors

This commit is contained in:
Dev 2024-01-26 17:57:42 +00:00
parent 59bc9cb3e0
commit 89b16cf7c1

View File

@ -34,11 +34,9 @@ export class JsonUtil
{ {
return JSON.stringify(data, null, "\t"); return JSON.stringify(data, null, "\t");
} }
else
{
return JSON.stringify(data); return JSON.stringify(data);
} }
}
/** /**
* From object to string * From object to string
@ -85,11 +83,9 @@ export class JsonUtil
{ {
return JSON5.stringify(data, null, "\t"); return JSON5.stringify(data, null, "\t");
} }
else
{
return JSON5.stringify(data); return JSON5.stringify(data);
} }
}
catch (error) catch (error)
{ {
this.logger.error( this.logger.error(