fix null value check
This commit is contained in:
parent
2b2c7d7f9f
commit
803fa35484
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ function wrapArgs (args, visited = new Set()) {
|
||||||
type: 'date',
|
type: 'date',
|
||||||
value: value.getTime()
|
value: value.getTime()
|
||||||
}
|
}
|
||||||
} else if (value && typeof value === 'object') {
|
} else if ((value != null) && typeof value === 'object') {
|
||||||
if (isPromise(value)) {
|
if (isPromise(value)) {
|
||||||
return {
|
return {
|
||||||
type: 'promise',
|
type: 'promise',
|
||||||
|
|
Loading…
Reference in a new issue