Skip to content

Commit a549ba5

Browse files
committed
chore: code cleanup
1 parent 5fb8e24 commit a549ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const shouldInlineInternal = (entry: InventoryEntry) => {
3535
if (!h || h === "#") {
3636
return false;
3737
}
38-
if (h.startsWith("#/components/schemas") || h.indexOf("/definitions") !== -1 || h.startsWith("#/declarations")) {
38+
if (h.startsWith("#/components/schemas") || h.startsWith("#/definitions")) {
3939
return false;
4040
}
4141
return h.startsWith("#/paths/");

0 commit comments

Comments
 (0)