Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew E. Rhyne committed Sep 6, 2016
1 parent a09a84d commit a171136
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/slug-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ module.exports = function (schema, options) {
values.push(doc[item]);
});

console.log(doc[item.name], !doc[item.name] || !(item.permanent && doc[item.name]));

if (!(item.unique || item.unique_slug)) {
if (!doc[item.name] || !(item.permanent && doc[item.name])) {
doc[item.name] = makeSlug(values, opts);
Expand Down

0 comments on commit a171136

Please sign in to comment.