remove private from docs

This commit is contained in:
Amish Shah
2016-08-21 19:53:01 +01:00
parent 73b61b6b4e
commit 4e53aa4a23
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -10,7 +10,6 @@ module.exports = class DocumentationScanner {
return new Promise((resolve, reject) => {
const stream = parse({
src: [`${directory}*.js`, `${directory}**/*.js`],
private: true,
});
let json = '';

View File

@@ -81,7 +81,8 @@ class Documentation {
}
const parent = this.findParent(member);
if (!parent) {
throw new Error(`${member.name} has no accessible parent - ${JSON.stringify(member)}`);
console.log(new Error(`${member.name || member.directData.name} has no accessible parent`));
continue;
}
parent.add(item);
}