mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42: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;
|
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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue