Skip to content

Commit 245af3f

Browse files
Apply suggestions from code review
Co-authored-by: Carmen Popoviciu <[email protected]>
1 parent 194a537 commit 245af3f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/wrangler/src/__tests__/vectorize/vectorize.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ describe("vectorize commands", () => {
575575
expect(std.out).toMatchInlineSnapshot(`""`);
576576

577577
expect(std.err).toMatchInlineSnapshot(`
578-
"[31mX [41;31m[[41;97mERROR[41;31m][0m [1m🚨 Either vector or vector-id param must be provided, but not both.[0m
578+
"[31mX [41;31m[[41;97mERROR[41;31m][0m [1m🚨 Either vector or vector-id parameter must be provided, but not both.[0m
579579
580580
"
581581
`);
@@ -589,7 +589,7 @@ describe("vectorize commands", () => {
589589
expect(std.out).toMatchInlineSnapshot(`""`);
590590

591591
expect(std.err).toMatchInlineSnapshot(`
592-
"[31mX [41;31m[[41;97mERROR[41;31m][0m [1m🚨 Either vector or vector-id param must be provided, but not both.[0m
592+
"[31mX [41;31m[[41;97mERROR[41;31m][0m [1m🚨 Either vector or vector-id parameter must be provided, but not both.[0m
593593
594594
"
595595
`);

packages/wrangler/src/vectorize/query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export async function handler(
124124
(args.vector !== undefined && args.vectorId !== undefined)
125125
) {
126126
logger.error(
127-
"🚨 Either vector or vector-id param must be provided, but not both."
127+
"🚨 Either vector or vector-id parameter must be provided, but not both."
128128
);
129129
return;
130130
}

0 commit comments

Comments
 (0)