We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c337af commit 70ea270Copy full SHA for 70ea270
lib/to-buffer.js
@@ -1,6 +1,6 @@
1
var Buffer = require('safe-buffer').Buffer
2
3
-module.exports = (thing, encoding, name) => {
+module.exports = function(thing, encoding, name) {
4
if (Buffer.isBuffer(thing)) {
5
return thing
6
} else if (typeof thing === 'string') {
0 commit comments