Skip to content

Commit

Permalink
Add guard for #4
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed Mar 27, 2021
1 parent 0b3b5b4 commit 152f508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linguist.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const parseOutput = (text) => {
parsingLang = ml.language;
return;
}
map[parsingLang].paths.push(line);
map[parsingLang]?.paths.push(line);
});
return map;
};
Expand Down

0 comments on commit 152f508

Please sign in to comment.