mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 14:25:17 +00:00
Removed @ from personalizationLogo search
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user