Skip to content

Commit 38b2c4b

Browse files
committed
linting
1 parent e37311f commit 38b2c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protographic/src/operation-to-proto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export function compileOperationsToProto(
126126
// This catches invalid operations including circular fragment references (NoFragmentCyclesRule)
127127
// Filter out KnownDirectivesRule to allow unknown directives (e.g., @wg_openapi_operation)
128128
// since directives may be used by dev tools and don't affect proto generation
129-
const validationRules = specifiedRules.filter(rule => rule !== KnownDirectivesRule);
129+
const validationRules = specifiedRules.filter((rule) => rule !== KnownDirectivesRule);
130130
const validationErrors = validate(schema, document, validationRules);
131131
if (validationErrors.length > 0) {
132132
const errorMessages = validationErrors.map((error) => error.message).join('\n');

0 commit comments

Comments
 (0)