mirror of
https://github.com/danbulant/discord.js
synced 2026-06-24 17:21:59 +00:00
remove private from docs
This commit is contained in:
parent
73b61b6b4e
commit
4e53aa4a23
3 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
|
@ -10,7 +10,6 @@ module.exports = class DocumentationScanner {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const stream = parse({
|
const stream = parse({
|
||||||
src: [`${directory}*.js`, `${directory}**/*.js`],
|
src: [`${directory}*.js`, `${directory}**/*.js`],
|
||||||
private: true,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
let json = '';
|
let json = '';
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,8 @@ class Documentation {
|
||||||
}
|
}
|
||||||
const parent = this.findParent(member);
|
const parent = this.findParent(member);
|
||||||
if (!parent) {
|
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);
|
parent.add(item);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue