diff --git a/lib/util.js b/lib/util.js index e6ba5bda..8054c1bb 100644 --- a/lib/util.js +++ b/lib/util.js @@ -73,7 +73,7 @@ function fastHashObject(keys, labels) { for (let i = 0; i < keys.length; i++) { const key = keys[i]; const value = labels[key]; - if (typeof value === 'undefined') continue; + if (value === undefined) continue; hash += `${key}:${value},`; }