diff --git a/examples/proxy/proxy.js b/examples/proxy/proxy.js index 174fe93..407a74d 100644 --- a/examples/proxy/proxy.js +++ b/examples/proxy/proxy.js @@ -180,6 +180,6 @@ function shouldDump(name, direction) { return matches(printNameWhitelist[name]); function matches(result) { - return result !== null && result.indexOf(direction) !== -1; + return result != null && result.indexOf(direction) !== -1; } }