Skip to content

Commit

Permalink
fix crash when a tutorial is present (hegemonic#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
hegemonic committed Aug 3, 2015
1 parent 8f2110b commit 620c85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/publishjob.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ PublishJob.prototype.generateTocData = function(options) {
var children = tutorial.children;

tutorial.children.forEach(function (child) {
children = children.concat(this.getTutorialChildren(child));
children = children.concat(getTutorialChildren(child));
}, this);

return children;
Expand Down

0 comments on commit 620c85e

Please sign in to comment.