mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
Fix documentation generator
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -12,6 +12,9 @@ const regex = /([\w]+)([^\w]+)/;
|
|||||||
const regexG = /([\w]+)([^\w]+)/g;
|
const regexG = /([\w]+)([^\w]+)/g;
|
||||||
|
|
||||||
function splitVarName(str) {
|
function splitVarName(str) {
|
||||||
|
if (str === '*') {
|
||||||
|
return ['*', ''];
|
||||||
|
}
|
||||||
const matches = str.match(regexG);
|
const matches = str.match(regexG);
|
||||||
const output = [];
|
const output = [];
|
||||||
if (matches) {
|
if (matches) {
|
||||||
|
|||||||
Reference in New Issue
Block a user