diff --git a/src/ssn/getPatch.ts b/src/ssn/getPatch.ts index 34a90e4..56312bd 100644 --- a/src/ssn/getPatch.ts +++ b/src/ssn/getPatch.ts @@ -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) => {