Skip to content

Commit

Permalink
Don't use undefined toString
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeti-or committed Jul 30, 2016
1 parent bb5f622 commit de1ce25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/normalize2.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ module.exports = function (decl) {
return res;

function add(entity, tech) {
const str = naming.stringify(entity) + tech;
const str = naming.stringify(entity) + (tech || '');

if (!hash[str]) {
res.push({
Expand Down

0 comments on commit de1ce25

Please sign in to comment.