Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
})
)).reduce((left, right) => left.concat(right));
this._logger.log(
JSON.stringify({
type: 'usage',
messageType: 'workspace/didChangeWatchedFiles',
projectName: this._graphQLCache
.getGraphQLConfig()
.getProjectNameForFile(uri),
fileName: uri,
})
);
return { uri, diagnostics };
} else if (change.type === FileChangeTypeKind.Deleted) {
this._graphQLCache.updateFragmentDefinitionCache(
this._graphQLCache.getGraphQLConfig().configDir,
change.uri,
false
);
this._graphQLCache.updateObjectTypeDefinitionCache(
this._graphQLCache.getGraphQLConfig().configDir,
change.uri,
false
);
}
})
);