mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 17:25:21 +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] instanceof Array) {
|
||||
passFile[prop].push(...this.props[prop]);
|
||||
return;
|
||||
} else if (passFile[prop] instanceof Object) {
|
||||
Object.assign(passFile[prop], this.props[prop]);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
} else {
|
||||
passFile[prop] = this.props[prop];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user