From facf0d12c99faac954c5e894ad792939a3378863 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 16 Sep 2018 04:04:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20patch=20installation=20of?= =?UTF-8?q?=20deleted=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ssn/getPatch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {