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',
|
||||
value: value.getTime()
|
||||
}
|
||||
} else if (value && typeof value === 'object') {
|
||||
} else if ((value != null) && typeof value === 'object') {
|
||||
if (isPromise(value)) {
|
||||
return {
|
||||
type: 'promise',
|
||||
|
|
Loading…
Reference in a new issue