fix(core): update

This commit is contained in:
2020-10-05 15:07:28 +00:00
parent d865e3b874
commit 3e2b300cdb
12 changed files with 10225 additions and 604 deletions

View File

@ -1,12 +1,12 @@
import * as plugins from './nodehash.plugins';
export const hashStreamPipeStop = resolveFuntion => {
export const hashStreamPipeStop = (resolveFuntion) => {
const forEach = (chunk: Buffer, enc, cb) => {
resolveFuntion(chunk.toString('utf8'));
cb(null, chunk);
};
const atEnd = cb => {
const atEnd = (cb) => {
cb();
};