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

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

parent 64a9c2d3
...@@ -480,7 +480,7 @@ function getClassesToBlocksList(file, enc, cb) { ...@@ -480,7 +480,7 @@ function getClassesToBlocksList(file, enc, cb) {
nth.blocksFromHtml.push(item); nth.blocksFromHtml.push(item);
} }
console.log('---------- Used HTML blocks: ' + nth.blocksFromHtml.join(', ')); console.log('---------- Used HTML blocks: ' + nth.blocksFromHtml.join(', '));
file.contents = new Buffer(fileContent); file.contents = new Buffer.from(fileContent);
} }
this.push(file); this.push(file);
cb(); 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