mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 14:25:17 +00:00
Improved passFile props assignment
This commit is contained in:
@@ -539,7 +539,7 @@ export class Pass {
|
||||
.filter(v => this[passProps][v] && !isValidRGB(this[passProps][v]))
|
||||
.forEach(v => delete this[passProps][v]);
|
||||
|
||||
passFile = { ...passFile, ...this[passProps] };
|
||||
Object.assign(passFile, this[passProps]);
|
||||
}
|
||||
|
||||
this._fields.forEach(field => {
|
||||
|
||||
Reference in New Issue
Block a user