graphql-language-service-config
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -109,4 +109,4 @@ 'use strict'; | ||
if (appName) { | ||
if (this._config[PROJECTS_NAME] && this._config[PROJECTS_NAME][appName] && this._config[PROJECTS_NAME][appName].inputDirs) { | ||
return this._config[PROJECTS_NAME][appName].inputDirs.some(function (dirPath) { | ||
if (this._config[PROJECTS_NAME] && this._config[PROJECTS_NAME][appName] && this._config[PROJECTS_NAME][appName].includeDirs) { | ||
return this._config[PROJECTS_NAME][appName].includeDirs.some(function (dirPath) { | ||
return fileName.indexOf(dirPath) !== -1; | ||
@@ -116,3 +116,3 @@ }); | ||
} | ||
return this._config.inputDirs ? this._config.inputDirs.some(function (dirPath) { | ||
return this._config.includeDirs ? this._config.includeDirs.some(function (dirPath) { | ||
return fileName.indexOf(dirPath) !== -1; | ||
@@ -119,0 +119,0 @@ }) : false; |
{ | ||
"name": "graphql-language-service-config", | ||
"repository": "https://github.com/graphql/graphql-language-service", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "A tool-kit for accessing and using `.graphqlrc` configuration files", | ||
@@ -29,4 +29,4 @@ "contributors": [ | ||
"dependencies": { | ||
"graphql-language-service-types": "0.0.12" | ||
"graphql-language-service-types": "0.0.13" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
22643
+ Addedgraphql-language-service-types@0.0.13(transitive)
- Removedgraphql-language-service-types@0.0.12(transitive)