Skip to content

Commit 49bafbc

Browse files
committed
silence fetch cache error due to size limit
1 parent df405f2 commit 49bafbc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/build/resolveOpenAPI.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ async function resolveOpenAPI(): Promise<DeRefedOpenAPI> {
2626
}
2727
}
2828
const response = await fetch(
29-
`https://raw.githubusercontent.com/getsentry/sentry-api-schema/${SENTRY_API_SCHEMA_SHA}/openapi-derefed.json`
29+
`https://raw.githubusercontent.com/getsentry/sentry-api-schema/${SENTRY_API_SCHEMA_SHA}/openapi-derefed.json`,
30+
{
31+
// this request is not getting cached due to size limit anyway and is printing noise to the build logs
32+
cache: 'no-store',
33+
}
3034
);
3135
return await response.json();
3236
}

0 commit comments

Comments
 (0)