From fdb4cda138418a8525b04dc1382452cbd4658eba Mon Sep 17 00:00:00 2001 From: alexandercerutti Date: Wed, 22 Aug 2018 00:54:12 +0200 Subject: [PATCH] Removed useless returns --- index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.js b/index.js index 02c22f2..7ed3da4 100644 --- a/index.js +++ b/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]; }