Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
lint errors in import service
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Oct 13, 2016
1 parent 2ce1b12 commit ef5f4df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Web/wwwroot/app/services/importService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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);
}
}
}
Expand Down

0 comments on commit ef5f4df

Please sign in to comment.