Fix:Podcast episode quick match crash #1711

This commit is contained in:
advplyr 2023-04-21 17:49:25 -05:00
parent 35e27e4f61
commit dadd41cb5c
2 changed files with 9 additions and 3 deletions

View file

@ -25,6 +25,11 @@ module.exports = function areEquivalent(value1, value2, stack = []) {
return true;
}
// Truthy check to handle value1=null, value2=Object
if ((value1 && !value2) || (!value1 && value2)) {
return false
}
const type1 = typeof value1;
// Ensure types match