Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the bug TypeError: Cannot convert undefined or null to object after adding the ignoreList #253

Merged
merged 1 commit into from
Sep 11, 2020

Conversation

paramjitkaur
Copy link
Contributor

@paramjitkaur paramjitkaur commented Sep 10, 2020

Fixes #250

Description

This PR fixes the error being thrown as TypeError: Cannot convert undefined or null to object. This is happening after we introduced the ignorelist. It's easily reproducible when we have a config file and the config file looks like this:
image

It does not have the config value passed.
Note: This is not reproducible in case of running the graphql-schema-linter from the command line.

@cjoudrey
Copy link
Owner

Thanks for the contribution and bug fix @paramjitkaur! Really appreciate the help. 😄

@cjoudrey cjoudrey merged commit 9175c24 into cjoudrey:master Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot convert undefined or null to object
2 participants