mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 23:25:26 +00:00
Changed comment and warn
This commit is contained in:
@@ -81,13 +81,6 @@ export default class PKPass extends Bundle {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Disk model reading is happening here */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @TODO Rename bundles in something else.
|
|
||||||
* @TODO determine how to use localized files
|
|
||||||
*/
|
|
||||||
|
|
||||||
buffers = await getModelFolderContents(source.model);
|
buffers = await getModelFolderContents(source.model);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -413,7 +406,7 @@ export default class PKPass extends Bundle {
|
|||||||
|
|
||||||
if (colorInProps && !isValidRGB(colorInProps)) {
|
if (colorInProps && !isValidRGB(colorInProps)) {
|
||||||
console.warn(
|
console.warn(
|
||||||
`'${colorProperty}' property has been removed from pass.json as it has not a valid RGB-strin value.`,
|
`'${colorProperty}' property has been removed from pass.json as it has not a valid RGB-string value.`,
|
||||||
);
|
);
|
||||||
|
|
||||||
delete this[propsSymbol][colorProperty];
|
delete this[propsSymbol][colorProperty];
|
||||||
|
|||||||
Reference in New Issue
Block a user