Removed @ from personalizationLogo search

This commit is contained in:
Alexander Cerutti
2019-07-27 00:51:25 +02:00
parent 8c89b18a75
commit 9aa151ebb3
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ export async function getModelContents(model: FactoryOptions["model"]) {
return modelContents;
}
const logoFullNames = getAllFilesWithName("personalizationLogo@", modelFiles, "startsWith");
const logoFullNames = getAllFilesWithName("personalizationLogo", modelFiles, "startsWith");
if (!(logoFullNames.length && modelContents.bundle[personalizationJsonFile].length)) {
deletePersonalization(modelContents.bundle, logoFullNames);
return modelContents;

View File

@@ -143,7 +143,7 @@ export class Pass {
if (!this[passProps].nfc && currentBundleFiles.includes("personalization.json")) {
genericDebug(formatMessage("PRS_REMOVED"));
deletePersonalization(this.bundle, getAllFilesWithName(
"personalizationLogo@",
"personalizationLogo",
currentBundleFiles,
"startsWith"
));