Skip to content

Commit

Permalink
fix: making require for buffer module explicit fixes #217
Browse files Browse the repository at this point in the history
  • Loading branch information
soldair committed Nov 13, 2019
1 parent 6aaae01 commit eb2d499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/reed-solomon-encoder.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var BufferUtil = require('../utils/buffer')
var Polynomial = require('./polynomial')
var Buffer = require('buffer').Buffer
var Buffer = require('buffer/').Buffer

function ReedSolomonEncoder (degree) {
this.genPoly = undefined
Expand Down

0 comments on commit eb2d499

Please sign in to comment.