From e70a077177d21218b24bc1f22deccdc94a87fd66 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 29 Jun 2016 19:16:45 +0300 Subject: [PATCH] another barin-dead error fix.... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/features.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ui (gen4)/lib/features.js b/ui (gen4)/lib/features.js index f34d635e..389e44c4 100755 --- a/ui (gen4)/lib/features.js +++ b/ui (gen4)/lib/features.js @@ -490,10 +490,6 @@ var FeatureSetProto = { var res = e.exclusive .filter(function(n){ if(_exclusive.indexOf(n) < 0){ - // XXX not sure if this is the right place for this... - console.warn( - 'Excluding unaplicable:', n, '(reccomended to exclude manually)') - _exclusive.push(n) return false } @@ -501,8 +497,11 @@ var FeatureSetProto = { }) .length == 0 - !res && - excluded.push(n) + !res + && excluded.push(n) + // XXX not sure if this is the right place for this... + && console.warn( + 'Excluding unaplicable:', n, '(reccomended to exclude manually)') return res })