From 80f65f2bf80709b48d3bb3a70f173c8f52115a92 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 16 Feb 2018 00:58:17 -0800 Subject: [PATCH] error message fix --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index bd071b4..f47a36a 100644 --- a/index.js +++ b/index.js @@ -126,7 +126,7 @@ function from (value, encodingOrOffset, length) { if (value == null) { throw TypeError( - 'The first argument must be one of type string, Buffer, ArrayBuffer, Array ' + + 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' + 'or Array-like Object. Received type ' + (typeof value) ) } -- 2.34.1