mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
remove private from docs
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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 = '';
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user