mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +00:00
Fix documentation generator
This commit is contained in:
parent
7ff2568cfc
commit
1be0270796
2 changed files with 4 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
|
@ -12,6 +12,9 @@ const regex = /([\w]+)([^\w]+)/;
|
|||
const regexG = /([\w]+)([^\w]+)/g;
|
||||
|
||||
function splitVarName(str) {
|
||||
if (str === '*') {
|
||||
return ['*', ''];
|
||||
}
|
||||
const matches = str.match(regexG);
|
||||
const output = [];
|
||||
if (matches) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue