aboutsummaryrefslogtreecommitdiff
path: root/node_modules/kind-of/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/kind-of/index.js')
-rw-r--r--node_modules/kind-of/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/kind-of/index.js b/node_modules/kind-of/index.js
index 85083862e..b52c2917f 100644
--- a/node_modules/kind-of/index.js
+++ b/node_modules/kind-of/index.js
@@ -61,7 +61,7 @@ module.exports = function kindOf(val) {
}
// buffer
- if (typeof Buffer !== 'undefined' && isBuffer(val)) {
+ if (isBuffer(val)) {
return 'buffer';
}