From 73f64ce3e1f6d48762ddba20dcbdef974ae8f7bc Mon Sep 17 00:00:00 2001 From: Vesa Meskanen Date: Thu, 16 Jun 2016 08:36:49 +0300 Subject: [PATCH] Cleanup: tabs -> spaces --- middleware/dedupe.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/middleware/dedupe.js b/middleware/dedupe.js index 3723512b..786675c4 100644 --- a/middleware/dedupe.js +++ b/middleware/dedupe.js @@ -51,10 +51,10 @@ function isDifferent(item1, item2) { if (item1.hasOwnProperty('name') && item2.hasOwnProperty('name')) { for (var lang in item1.name) { - if(item2.name[lang] || lang === 'default') { - // do not consider absence of an additional name as a difference - propMatch(item1.name, item2.name, lang); - } + if(item2.name[lang] || lang === 'default') { + // do not consider absence of an additional name as a difference + propMatch(item1.name, item2.name, lang); + } } } else {