Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: github/codeql-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3f68d85b0091f0a5c7d43b4be17e4428cdc01365
Choose a base ref
..
head repository: github/codeql-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 84ab7c2385726cd16cb526cf513f723a84892eb5
Choose a head ref
Showing with 7 additions and 1 deletion.
  1. +3 −0 lib/tracer-config.js
  2. +1 −1 lib/tracer-config.js.map
  3. +3 −0 src/tracer-config.ts
3 changes: 3 additions & 0 deletions lib/tracer-config.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/tracer-config.js.map

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

3 changes: 3 additions & 0 deletions src/tracer-config.ts
Original file line number Diff line number Diff line change
@@ -23,6 +23,9 @@ const CRITICAL_TRACER_VARS = new Set([
export async function endTracingForCluster(
config: configUtils.Config
): Promise<void> {
// If there are no traced languages, we don't need to do anything.
if (!config.languages.some(isTracedLanguage)) return;

const endTracingEnvVariables: Map<string, string | undefined> = JSON.parse(
fs.readFileSync(
path.resolve(