Skip to content

Commit

Permalink
lint: Prefer double-quotes over single
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jan 16, 2013
1 parent 61741f9 commit b9ffc53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/buffer.js
Expand Up @@ -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');
}


Expand Down

0 comments on commit b9ffc53

Please sign in to comment.