Skip to content

Commit b192238

Browse files
committed
Don't try to install the CLI on the first step
We already install it for you in the prebuild, so there's no need for this command. This solves a problem where you get unnecessary alerts from the extension: - first time you're on the step, you're told the CLI is already installed. - subsequent times you click on the step, you're shown an error "Already installing CLI". We'd like to get rid of both of these warnings.
1 parent f9c2e6a commit b192238

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.tours/codeql-tutorial.tour

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@
44
"isPrimary": true,
55
"steps": [
66
{
7-
"description": "The CodeQL extension uses the CodeQL CLI to compile and run queries. It automatically manages access to the executable of the CLI for you.\n\nClick 'Next' when you see a popup notification telling you that the CLI has been installed or updated.",
8-
"commands": [
9-
"codeQL.checkForUpdatesToCLI"
10-
],
11-
"title": "Set up extension"
7+
"description": "First let's talk about the CodeQL CLI.\n\nThe CodeQL extension uses the CodeQL CLI to compile and run queries. It automatically manages access to the executable of the CLI for you.\n\nWe've already set it up to use in this tutorial. To learn more about the CodeQL CLI, see [the docs](https://codeql.github.com/).",
8+
"title": "The CodeQL CLI"
129
},
1310
{
1411
"directory": ".tours/codeql-tutorial-database",

0 commit comments

Comments
 (0)