lint: Prefer double-quotes over single

This commit is contained in:
isaacs 2013-01-16 12:07:12 -08:00
parent 61741f9a83
commit b9ffc537e6

View File

@ -827,11 +827,11 @@ Buffer.prototype.readDoubleBE = function(offset, noAssert) {
function checkInt(buffer, value, offset, ext, max, min) { function checkInt(buffer, value, offset, ext, max, min) {
if ((value % 1) !== 0 || value > max || value < 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) 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) 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');
} }