Skip to content

Commit

Permalink
fix(cli-utils): Fix typo on VSCode syntax extension detection (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten authored May 14, 2024
1 parent 84f7fa7 commit 5ea58a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/pretty-frogs-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@gql.tada/cli-utils": patch
---

Fix typo on VSCode Syntax extension detection in `doctor` command
2 changes: 1 addition & 1 deletion packages/cli-utils/src/commands/doctor/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async function* runVSCodeChecks(): AsyncIterable<ComposeInput> {
let userExtensions: readonly string[] = [];
if (isVSCodeInstalled) {
userExtensions = await vscode.loadExtensionsList();
if (true || !userExtensions.includes('graphql.vscode-graphql-syntax')) {
if (!userExtensions.includes('graphql.vscode-graphql-syntax')) {
if (!hasEndedTask) {
hasEndedTask = true;
yield logger.warningTask(Messages.CHECK_VSCODE);
Expand Down

0 comments on commit 5ea58a3

Please sign in to comment.