Skip to content

Commit d820b4c

Browse files
committed
fix: warn
1 parent 312b93e commit d820b4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphQL/ParseGraphQLSchema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ class ParseGraphQLSchema {
346346
if (throwError) {
347347
throw new Error(message);
348348
}
349-
if (this.warnCache) this.log.warn(message);
349+
this._logOnce('warn', message);
350350
return undefined;
351351
}
352352
this.graphQLTypes.push(type);

0 commit comments

Comments
 (0)