Skip to content

Commit 84dcd1a

Browse files
committed
fix linting
1 parent a909c6a commit 84dcd1a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/catalyst/src/cli/config-priority.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ function useCaptureHandlers(captured: {
8787
http.post(
8888
'https://:apiHost/stores/:storeHash/v3/infrastructure/deployments/uploads',
8989
({ request, params }) => {
90+
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
9091
captured.storeHash = params.storeHash as string;
9192
captured.accessToken =
9293
request.headers.get('X-Auth-Token') ?? request.headers.get('x-auth-token') ?? '';
@@ -105,8 +106,10 @@ function useCaptureHandlers(captured: {
105106
'https://:apiHost/stores/:storeHash/v3/infrastructure/deployments',
106107
async ({ request, params }) => {
107108
captured.storeHash =
109+
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
108110
(params.storeHash as string) || new URL(request.url).pathname.split('/')[2] || '';
109111

112+
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
110113
const body = (await request.json()) as { project_uuid?: string };
111114

112115
captured.projectUuid = body.project_uuid ?? '';

0 commit comments

Comments
 (0)