mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +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) => {
|
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user