Changes to undefined checks

This commit is contained in:
Eric Amodio
2017-06-09 11:48:50 -04:00
parent ba59fb29ad
commit 9c7a971e21
2 changed files with 12 additions and 14 deletions

View File

@@ -42,9 +42,7 @@ export class GitBlameParser {
let position = -1;
while (++position < lines.length) {
const lineParts = lines[position].split(' ');
if (lineParts.length < 2) {
continue;
}
if (lineParts.length < 2) continue;
if (entry === undefined) {
entry = {