From ef5f4df30feed95fce8a06e364f62e4b890178a0 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 12 Oct 2016 22:49:04 -0400 Subject: [PATCH] lint errors in import service --- src/Web/wwwroot/app/services/importService.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Web/wwwroot/app/services/importService.js b/src/Web/wwwroot/app/services/importService.js index a2e3ea9a13..fe6bc9bc97 100644 --- a/src/Web/wwwroot/app/services/importService.js +++ b/src/Web/wwwroot/app/services/importService.js @@ -243,11 +243,11 @@ site.name = value; break; case 'Notes': - site.notes = site.notes == null ? value + '\n' : site.notes + value + '\n'; + site.notes = site.notes === null ? value + '\n' : site.notes + value + '\n'; break; default: // other custom fields - site.notes = site.notes == null ? key + ': ' + value + '\n' + site.notes = site.notes === null ? key + ': ' + value + '\n' : site.notes + key + ': ' + value + '\n'; break; } @@ -270,8 +270,8 @@ var groups = node.find('> Group'); if (groups.length) { - for (var i = 0; i < groups.length; i++) { - traverse($(groups[i]), false, groupName); + for (var k = 0; k < groups.length; k++) { + traverse($(groups[k]), false, groupName); } } }