From fe026afcf734215fae53455324a427319bc71727 Mon Sep 17 00:00:00 2001 From: StefanFB <68238380+StefanFB@users.noreply.github.com> Date: Tue, 31 Dec 2024 18:38:58 +0100 Subject: [PATCH] Fixed command for listing domains required for Codespaces The 'gh api meta | jq .domains.codespaces' did not work for me in Command Prompt. It gives an error: "'jq' is not recognized as an internal or external command, operable program or batch file." Changing the command to 'gh api meta --jq .domains.codespaces' gives the desired output. This is also consistent with the manual after 'gh api meta -help'. --- .../troubleshooting-your-connection-to-github-codespaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/codespaces/troubleshooting/troubleshooting-your-connection-to-github-codespaces.md b/content/codespaces/troubleshooting/troubleshooting-your-connection-to-github-codespaces.md index dea2a4501054..6221c90c30cd 100644 --- a/content/codespaces/troubleshooting/troubleshooting-your-connection-to-github-codespaces.md +++ b/content/codespaces/troubleshooting/troubleshooting-your-connection-to-github-codespaces.md @@ -36,7 +36,7 @@ If you see rejected connections, make sure the domains documented by the `/meta` To get the list of domains required by {% data variables.product.prodname_github_codespaces %}, execute the following command using {% data variables.product.prodname_cli %}: -`gh api meta | jq .domains.codespaces` +`gh api meta --jq .domains.codespaces` ### "We are having trouble fetching your codespace information"