fix replace

This commit is contained in:
2018-02-16 22:57:40 +01:00
parent 9525ae2f4c
commit 4d1587d548
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ export let dest = (dirArg: string) => {
export let replace = () => {
return plugins.through2.obj(async (file: Smartfile, enc, cb) => {
await file.write()
cb(file)
cb(null, file)
}, (cb) => {
cb()
})