Skip to content

Commit

Permalink
fix: rm unused var (thanks, linter)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbenet committed Sep 16, 2016
1 parent 5776991 commit 6d21086
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ module.exports = class Node {
done = initOpts
initOpts = {}
}
let buf = ''

const keySize = initOpts.keysize || 2048

Expand All @@ -91,9 +90,7 @@ module.exports = class Node {

run(this.exec, ['init', '-b', keySize], {env: this.env})
.on('error', done)
.on('data', (data) => {
buf += data
})
.on('data', () => {}) // let it flow
.on('end', () => {
configureNode(this, this.opts, (err) => {
if (err) return done(err)
Expand Down

0 comments on commit 6d21086

Please sign in to comment.