Skip to content

Commit f3c94f1

Browse files
authored
chore: remove redundant words in comment (#1816)
Signed-off-by: depthlending <[email protected]>
1 parent 5db943d commit f3c94f1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/cli/src/validation/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ const validateFulltextArgumentIncludeFields = (def: any, directive: any, field:
679679
loc: directive.name.loc,
680680
entity: def.name.value,
681681
directive: fulltextDirectiveName(directive),
682-
message: `@fulltext argument 'include > ${field.name.value}' must be be one of: entity, fields`,
682+
message: `@fulltext argument 'include > ${field.name.value}' must be one of: entity, fields`,
683683
}),
684684
]);
685685
}

packages/cli/tests/cli/__snapshots__/validation.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ exports[`Validation > Invalid @fulltext directive 1`] = `
471471
IncludeMissingEntityField:
472472
- @fulltext argument include must have two fields, 'entity' and 'fields'
473473
InvalidIncludeArgumentOther:
474-
- @fulltext argument 'include > other' must be be one of: entity, fields
474+
- @fulltext argument 'include > other' must be one of: entity, fields
475475
IncludeFieldsMustBeList:
476476
- @fulltext argument 'include > fields' must be a list
477477
Other:

packages/cli/tests/cli/validation/invalid-fulltext-directive.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
IncludeMissingEntityField:
2626
- @fulltext argument include must have two fields, 'entity' and 'fields'
2727
InvalidIncludeArgumentOther:
28-
- @fulltext argument 'include > other' must be be one of: entity, fields
28+
- @fulltext argument 'include > other' must be one of: entity, fields
2929
IncludeFieldsMustBeList:
3030
- @fulltext argument 'include > fields' must be a list
3131
Other:

0 commit comments

Comments
 (0)