fix replace
This commit is contained in:
@ -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()
|
||||
})
|
||||
|
Reference in New Issue
Block a user