From b984512a75603f835c1b8bd0a6fe5fed551b8e33 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Fri, 14 Sep 2018 05:15:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20patch=20verification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ssn/verify/verifyPatch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssn/verify/verifyPatch.ts b/src/ssn/verify/verifyPatch.ts index 8c10a22..fc0c480 100644 --- a/src/ssn/verify/verifyPatch.ts +++ b/src/ssn/verify/verifyPatch.ts @@ -12,7 +12,7 @@ export default function verifyPatch(fileEntries: ISsnFileEntry[], product: Produ //Check that last file is the .version file with diffType 0. const lastFile = fileEntries[fileEntries.length - 1]; const validLastFileName = `${product}.version`; - const validLastFileAlternate = `Assets/assets_${product}_version.txt`; + const validLastFileAlternate = `Assets/${product}_version.txt`; if (lastFile.name === validLastFileName) { if (lastFile.diffType !== SsnDiffType.NewFile) { throw new Error(`Last file (.version file) must have diffType 0 but it had diffType ${lastFile.diffType}.`);