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,10 +34,8 @@ export class JsonUtil
{ {
return JSON.stringify(data, null, "\t"); return JSON.stringify(data, null, "\t");
} }
else
{ return JSON.stringify(data);
return JSON.stringify(data);
}
} }
/** /**
@ -85,10 +83,8 @@ 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)
{ {