diff --git a/features.js b/features.js index 7fab818..02888ec 100755 --- a/features.js +++ b/features.js @@ -135,7 +135,7 @@ module.FeatureProto = { || (this.actions != null && this.actions.config != null)){ // sanity check -- warn of config shadowing... - if(this.config && this.actions.config){ + if(this.config && this.actions && this.actions.config){ console.warn('Feature config shadowed: ' +'both .config (used) and .actions.config (ignored) are defined for:', this.tag, diff --git a/package.json b/package.json index 4496e29..9d7f318 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ig-features", - "version": "3.2.1", + "version": "3.2.2", "description": "", "main": "features.js", "scripts": {