Skip to content

Commit 3ea82d6

Browse files
committed
chore: if
1 parent 07bf5c5 commit 3ea82d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/specs/format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export async function transformBundle({
104104
}
105105

106106
// skip custom path for cURL
107-
if (pathKey !== '/{path}') {
107+
if (pathKey !== '/{path}' && specMethod['x-codeSamples']) {
108108
const harRequest = harRequests.find((baseHarRequest) =>
109109
baseHarRequest.url.includes(pathKey.replace('{indexName}', 'ALGOLIA_INDEX_NAME')),
110110
);

0 commit comments

Comments
 (0)