📓 Add comment
This commit is contained in:
parent
a39f428912
commit
0a18475076
2 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,7 @@ export default function saveResponse(
|
|||
|
||||
//wait until everything is written to disk, then return file name
|
||||
writeStream.end(() => {
|
||||
//TODO: this is no longer firing ever since we replaced on('data') event by pipe()
|
||||
resolve(filePath);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -144,6 +144,7 @@ export default async function getPatch({ product, from, to, sourceDirectory, tar
|
|||
console.error(`Could not delete removed file "${file.name}"`, error);
|
||||
}
|
||||
});
|
||||
//TODO: delete folder (and parent folders) that are empty
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -161,4 +162,6 @@ export default async function getPatch({ product, from, to, sourceDirectory, tar
|
|||
});
|
||||
});
|
||||
}
|
||||
|
||||
//TODO: add option to delete downloaded files once patching is complete
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue