fix(fs/_outputStream): validator should receive tmp path
This commit is contained in:
parent
8bee0925d0
commit
d41fbb9216
@ -492,7 +492,7 @@ export default class RemoteHandlerAbstract {
|
||||
try {
|
||||
await fromCallback(pipeline, input, output)
|
||||
if (validator !== undefined) {
|
||||
await validator.call(this, path)
|
||||
await validator.call(this, tmpPath)
|
||||
}
|
||||
await this.rename(tmpPath, path)
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user