mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-27 03:16:33 +00:00
endpoints.rs.dt remove broken unused header parsing code
This commit is contained in:
parent
15eee5883a
commit
b3742ef919
1 changed files with 1 additions and 5 deletions
|
@ -80,11 +80,7 @@ impl<'a> {{= endpoint }}<'a> {
|
|||
let rateLimitExcluded = get['x-app-rate-limit-excluded'] ? true : false;
|
||||
|
||||
/* Description processing. */
|
||||
let desc = get.description;
|
||||
let descArr = desc
|
||||
.replace(/(#+)\s*([^\\]+)\\n(.*?)([\\n$])/g,
|
||||
(m, g1, g2, g3, g4) => `<h${g1.length}>${g2}</h${g1.length}>\\n${g3}${g4}`)
|
||||
.split('\n');
|
||||
let descArr = get.description.split('\n');
|
||||
|
||||
/* Build argument comment & string. */
|
||||
let argBuilder = [];
|
||||
|
|
Loading…
Reference in a new issue