remove 2 lint errors
This commit is contained in:
parent
59bc9cb3e0
commit
89b16cf7c1
@ -34,11 +34,9 @@ export class JsonUtil
|
||||
{
|
||||
return JSON.stringify(data, null, "\t");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
return JSON.stringify(data);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* From object to string
|
||||
@ -85,11 +83,9 @@ export class JsonUtil
|
||||
{
|
||||
return JSON5.stringify(data, null, "\t");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
return JSON5.stringify(data);
|
||||
}
|
||||
}
|
||||
catch (error)
|
||||
{
|
||||
this.logger.error(
|
||||
|
Loading…
Reference in New Issue
Block a user