Skip to content

Commit 44f80b9

Browse files
committed
fix: properly exclude docs path
1 parent aa746ab commit 44f80b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ export const filterPaths = (
317317
const newPaths: Record<string, any> = {}
318318

319319
// exclude docs path and OpenAPI json path
320-
const excludePaths = [`/${docsPath}`, `/${docsPath}/json`].map((p) =>
320+
const excludePaths = [`${docsPath}`, `${docsPath}/json`].map((p) =>
321321
normalize(p)
322322
)
323323

0 commit comments

Comments
 (0)