🐛 Fix patch installation of deleted files

This commit is contained in:
C-3PO 2018-09-16 04:04:34 +02:00
parent d4920a36ef
commit facf0d12c9
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -136,7 +136,7 @@ export default async function getPatch({ product, from, to, sourceDirectory, tar
}
};
const deleteRemoved = (file: ISsnFileEntry) => {
const deleteRemoved = async (file: ISsnFileEntry) => {
//delete file
const fileName = path.join(targetDir, file.name);
fs.unlink(fileName, (error) => {