lint: Prefer double-quotes over single
This commit is contained in:
parent
61741f9a83
commit
b9ffc537e6
@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user