File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Build behavior:
4444 to 'false' disables the GOPATH set-up, CODEQL_EXTRACTOR_GO_BUILD_COMMAND (or alternatively
4545 LGTM_INDEX_BUILD_COMMAND), can be set to a newline-separated list of commands to run in order to
4646 install dependencies, and LGTM_INDEX_IMPORT_PATH can be used to override the package import path,
47- which is otherwise inferred from the SEMMLE_REPO_URL or GITHUB_REPOSITORY environment variables.
47+ which is otherwise inferred from the SEMMLE_REPO_URL or GITHUB_REPOSITORY environment variables.
4848
4949 In resource-constrained environments, the environment variable CODEQL_EXTRACTOR_GO_MAX_GOROUTINES
5050 (or its legacy alias SEMMLE_MAX_GOROUTINES) can be used to limit the number of parallel goroutines
@@ -931,9 +931,9 @@ func getVersionToInstall(v versionInfo) (msg, version string) {
931931func outputEnvironmentJson (version string ) {
932932 var content string
933933 if version == "" {
934- content = `{ "include ": [] }`
934+ content = `{ "go ": {} }`
935935 } else {
936- content = `{ "include": [ { " go": { "version": "` + version + `" } } ] }`
936+ content = `{ "go": { "version": "` + version + `" } }`
937937 }
938938 _ , err := fmt .Fprint (os .Stdout , content )
939939
You can’t perform that action at this time.
0 commit comments