mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 21:25:26 +00:00
Removed useless returns
This commit is contained in:
3
index.js
3
index.js
@@ -353,12 +353,9 @@ class Pass {
|
|||||||
if (passFile[prop]) {
|
if (passFile[prop]) {
|
||||||
if (passFile[prop] instanceof Array) {
|
if (passFile[prop] instanceof Array) {
|
||||||
passFile[prop].push(...this.props[prop]);
|
passFile[prop].push(...this.props[prop]);
|
||||||
return;
|
|
||||||
} else if (passFile[prop] instanceof Object) {
|
} else if (passFile[prop] instanceof Object) {
|
||||||
Object.assign(passFile[prop], this.props[prop]);
|
Object.assign(passFile[prop], this.props[prop]);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
} else {
|
} else {
|
||||||
passFile[prop] = this.props[prop];
|
passFile[prop] = this.props[prop];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user