Commit 9cdc3f67 authored by Nikolay Gromov's avatar Nikolay Gromov

Решил проблемы с Buffer()

parent 64a9c2d3
......@@ -480,7 +480,7 @@ function getClassesToBlocksList(file, enc, cb) {
nth.blocksFromHtml.push(item);
}
console.log('---------- Used HTML blocks: ' + nth.blocksFromHtml.join(', '));
file.contents = new Buffer(fileContent);
file.contents = new Buffer.from(fileContent);
}
this.push(file);
cb();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment