From b9ffc537e66eddc460b5f0d4f7fbdb1880eac96c Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 16 Jan 2013 12:07:12 -0800 Subject: [PATCH] lint: Prefer double-quotes over single --- lib/buffer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/buffer.js b/lib/buffer.js index f755d951b82..d37942df486 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -827,11 +827,11 @@ Buffer.prototype.readDoubleBE = function(offset, noAssert) { function checkInt(buffer, value, offset, ext, max, min) { if ((value % 1) !== 0 || value > max || value < min) - throw TypeError("value is out of bounds"); + throw TypeError('value is out of bounds'); if ((offset % 1) !== 0 || offset < 0) - throw TypeError("offset is not uint"); + throw TypeError('offset is not uint'); if (offset + ext > buffer.length || buffer.length + offset < 0) - throw RangeError("Trying to write outside buffer length"); + throw RangeError('Trying to write outside buffer length'); }