File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' openapi-ts-request ' : patch
3+ ---
4+
5+ fix: fix bug #467
Original file line number Diff line number Diff line change @@ -327,9 +327,7 @@ export async function generateService({
327327 ? [ / .* / g]
328328 : null ,
329329 includePaths : includePaths
330- ? map ( includePaths , ( item ) =>
331- isString ( item ) ? item . toLowerCase ( ) : item
332- )
330+ ? includePaths
333331 : priorityRule === PriorityRule . include ||
334332 priorityRule === PriorityRule . both
335333 ? [ / .* / g]
@@ -339,11 +337,7 @@ export async function generateService({
339337 isString ( item ) ? item . toLowerCase ( ) : item
340338 )
341339 : null ,
342- excludePaths : excludePaths
343- ? map ( excludePaths , ( item ) =>
344- isString ( item ) ? item . toLowerCase ( ) : item
345- )
346- : null ,
340+ excludePaths : excludePaths ? excludePaths : null ,
347341 requestOptionsType : '{[key: string]: unknown}' ,
348342 namespace : 'API' ,
349343 isGenReactQuery : false ,
You can’t perform that action at this time.
0 commit comments