Skip to content

Commit 1bd6808

Browse files
committed
xx
1 parent e8ccdf9 commit 1bd6808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function validateDirectives(context: SchemaValidationContext): void {
187187
if (knownArgNames[argName]) {
188188
context.reportError(
189189
`There can be only one argument named "${argName}".`,
190-
directive?.astNode,
190+
directive.astNode,
191191
);
192192
} else {
193193
knownArgNames[argName] = argName;

0 commit comments

Comments
 (0)