Skip to content

Commit 7318afe

Browse files
committed
minor update 'checkDepInit' method
1 parent 185b285 commit 7318afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export function checkDepInit(
284284
dep?: GraphQLDependency<any>,
285285
): boolean | undefined {
286286
if (dep) {
287-
const options = this.options.get(dep);
287+
const options = this.options && this.options.get(dep);
288288

289289
if (!options) {
290290
return false;

0 commit comments

Comments
 (0)