This commit is contained in:
syuilo 2018-04-10 04:03:25 +09:00
parent e2ce2e1ed2
commit 3eee92aae4

View File

@ -33,7 +33,7 @@ export default async (url, user, folderId = null, uri = null): Promise<IDriveFil
.on('error', rej)
.on('end', () => {
writable.close();
res(path);
res();
})
.pipe(writable)
.on('error', rej);