diff --git a/index.js b/index.js index d1ae929..17c9444 100644 --- a/index.js +++ b/index.js @@ -52,7 +52,7 @@ function etag(entity, options) { } if (!isBuffer && typeof entity !== 'string') { - throw new TypeError('argument entity must be string or Buffer') + throw new TypeError('argument entity must be string, Buffer, or fs.Stats') } var buf = !isBuffer