Closed jonschlinkert closed 11 years ago
@jonschlinkert okay, I see what you did. This was my first thought and I think it works for this plugin.
The other option is to do something like...
if(!_.isUndefined(permalinks)) {
if (permalinks.finished && permalinks.finished === true) {
callback();
return;
}
permalinks.finished = true;
// run the pages loop here
}
... is built