Skip to content

Merge releases/v2 into releases/v1 #1214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 35 commits into from
Aug 25, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
fba13b0
More readable error message for invalid `queries` block
aeisenberg Aug 15, 2022
d7319f2
Update changelog and version after v2.1.20
invalid-email-address Aug 22, 2022
e590686
Update checked-in dependencies
invalid-email-address Aug 22, 2022
c72f566
Explicitly import `performance` for Node 12 compatibility
henrymercer Aug 19, 2022
bae5150
Remove `@types/long`
henrymercer Aug 22, 2022
ec88835
Merge pull request #1201 from github/henrymercer/mergeback-v1-fixes
edoardopirovano Aug 22, 2022
c2c0a29
Merge pull request #1200 from github/mergeback/v2.1.20-to-main-7fee4ca0
henrymercer Aug 22, 2022
1e5376a
TRAP Caching: Unset missing cache rather than setting to `undefined`
edoardopirovano Aug 23, 2022
3e49948
Merge pull request #1207 from github/edoardo/fix-warning
edoardopirovano Aug 23, 2022
5861352
Better error messages for invalid queries and query filters blocks
aeisenberg Aug 23, 2022
ac92a02
Merge remote-tracking branch 'upstream/main' into aeisenberg/better-e…
aeisenberg Aug 23, 2022
9af066e
Update changelog
aeisenberg Aug 23, 2022
e379edd
Update CHANGELOG.md
aeisenberg Aug 23, 2022
1cd5043
Merge pull request #1208 from github/aeisenberg/better-error-message
aeisenberg Aug 23, 2022
d5ad81b
Fix Go custom tracing tests
henrymercer Aug 23, 2022
c18ed56
Warn about invalid value for `CODEQL_EXTRACTOR_GO_BUILD_TRACING`
henrymercer Aug 23, 2022
ab6508a
Disable Lua tracing for Go on Windows
henrymercer Aug 23, 2022
569f78c
Add changelog note
henrymercer Aug 23, 2022
3069613
Prevent hangs in Go autobuild tests due to .NET keychain prompts
henrymercer Aug 24, 2022
e195431
Override `CODEQL_EXTRACTOR_GO_BUILD_TRACING` with `on` when it's `true`
henrymercer Aug 24, 2022
182342c
Remove unguarded Actions library query
henrymercer Aug 24, 2022
e7d4da3
Merge pull request #1209 from github/henrymercer/fix-go-tracing-tests
henrymercer Aug 24, 2022
8b45ef3
Telemetry: Record DB creation time
edoardopirovano Aug 24, 2022
92c650b
Merge pull request #1210 from github/edoardo/record-db-creation-time
edoardopirovano Aug 24, 2022
5960bff
When running on a schedule, make a better guess about whether we're a…
chrisgavin Aug 25, 2022
21bf308
Merge pull request #1211 from github/get-default-branch-correctly-sch…
chrisgavin Aug 25, 2022
00ef1ee
Update changelog for v2.1.21
invalid-email-address Aug 25, 2022
c7f292e
Merge pull request #1212 from github/update-v2.1.21-21bf3087
edoardopirovano Aug 25, 2022
d9311e1
Revert "Update checked-in dependencies"
henrymercer Aug 25, 2022
328499d
Revert "Update version and changelog for v1.1.20"
henrymercer Aug 25, 2022
bd951de
Set version number to 2.1.20
henrymercer Aug 25, 2022
b0d070a
Revert "Explicitly import `performance` for Node 12 compatibility"
henrymercer Aug 25, 2022
271f8f5
Merge branch 'releases/v2' into update-v1.1.20-c7f292ea4
henrymercer Aug 25, 2022
d605b83
Update version and changelog for v1.1.21
henrymercer Aug 25, 2022
66a519c
Update checked-in dependencies
invalid-email-address Aug 25, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Warn about invalid value for CODEQL_EXTRACTOR_GO_BUILD_TRACING
  • Loading branch information
henrymercer committed Aug 23, 2022
commit c18ed5697707172fce3f0b07fabff6b0941b160f
4 changes: 4 additions & 0 deletions lib/languages.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/languages.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ export function parseLanguage(language: string): Language | undefined {
}

export function isTracedLanguage(language: Language): boolean {
if (process.env["CODEQL_EXTRACTOR_GO_BUILD_TRACING"] === "true") {
throw new Error(
"The CODEQL_EXTRACTOR_GO_BUILD_TRACING environment variable is set to an invalid value. " +
"To enable Go build tracing, please set it to 'on'."
);
}

return (
["cpp", "java", "csharp", "swift"].includes(language) ||
(process.env["CODEQL_EXTRACTOR_GO_BUILD_TRACING"] === "on" &&
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy