fix(core): update
This commit is contained in:
parent
53248a3a3d
commit
a673844fb3
@ -40,7 +40,7 @@ export class Smartlog implements plugins.smartlogInterfaces.ILogDestination {
|
|||||||
const write = process.stdout.write;
|
const write = process.stdout.write;
|
||||||
process.stdout.write = (...args: any) => {
|
process.stdout.write = (...args: any) => {
|
||||||
const logString: string = args[0];
|
const logString: string = args[0];
|
||||||
if (!logString) {
|
if (!logString || typeof logString.startsWith !== 'function') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!logString.startsWith('LOG') && typeof logString === 'string') {
|
if (!logString.startsWith('LOG') && typeof logString === 'string') {
|
||||||
|
Loading…
Reference in New Issue
Block a user