Skip to content

Commit

Permalink
Fix client localSchemaFile for vscode stats command (#1634)
Browse files Browse the repository at this point in the history
* remove check that prevented localschemafiles from working

* update changelog
  • Loading branch information
JakeDawkins committed Nov 19, 2019
1 parent b2454f3 commit 10b9819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
- `apollo-tools`
- <First `apollo-tools` related entry goes here>
- `vscode-apollo`
- <First `vscode-apollo` related entry goes here>
- Fix client localSchemaFile for vscode stats command [#1634](https://github.com/apollographql/apollo-tooling/pull/1634)

## `apollo@2.21.1`

Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-language-server/src/project/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export class GraphQLClientProject extends GraphQLProject {
total: totalTypes
},
tag: this.config.tag,
loaded: Boolean(this.serviceID && (this.schema || this.serviceSchema)),
loaded: Boolean(this.schema || this.serviceSchema),
lastFetch: this.lastLoadDate
};
}
Expand Down

0 comments on commit 10b9819

Please sign in to comment.