mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix the silly logger
This commit is contained in:
parent
e541c4b19c
commit
d70af2013d
@ -8,7 +8,7 @@ const isPlainObject = (value: any) => {
|
||||
typeof value.constructor === 'function' &&
|
||||
// rome-ignore lint/suspicious/noPrototypeBuiltins: js tricks
|
||||
(value.constructor.prototype.hasOwnProperty('isPrototypeOf') || Object.getPrototypeOf(value.constructor.prototype) === null)) ||
|
||||
(value && Object.getPrototypeOf(value) === null)
|
||||
(value != undefined && Object.getPrototypeOf(value) === null)
|
||||
);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user