Skip to content

Commit

Permalink
chore: ignore fallback in coverage check
Browse files Browse the repository at this point in the history
  • Loading branch information
BridgeAR committed Apr 4, 2017
1 parent e3fb097 commit eb62db6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ var isModern = typeof Buffer.allocUnsafe === 'function'
* @returns {Buffer}
*/

/* istanbul ignore next: fallback for old Node.js versions */
function bufferAlloc (len) {
return isModern ? Buffer.allocUnsafe(len) : new Buffer(len)
}
Expand Down

0 comments on commit eb62db6

Please sign in to comment.