Skip to content

Commit eb62db6

Browse files
committed
chore: ignore fallback in coverage check
1 parent e3fb097 commit eb62db6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/parser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ var isModern = typeof Buffer.allocUnsafe === 'function'
1717
* @returns {Buffer}
1818
*/
1919

20+
/* istanbul ignore next: fallback for old Node.js versions */
2021
function bufferAlloc (len) {
2122
return isModern ? Buffer.allocUnsafe(len) : new Buffer(len)
2223
}

0 commit comments

Comments
 (0)