fix(core): update

This commit is contained in:
2019-07-04 16:56:37 +02:00
parent 85c9a9381a
commit 4d3b6ff3c9
10 changed files with 735 additions and 332 deletions

View File

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