Commit 06c1c9c
committed
refactor: use SENTRY_CLI_NO_TELEMETRY env var instead of disableDbTracing
Replace the in-process tracingDisabled flag and disableDbTracing()
export with the existing SENTRY_CLI_NO_TELEMETRY=1 env var. The
__complete fast-path sets it before any imports, and db/index.ts
checks it when deciding whether to lazy-require the tracing wrapper.
Removes one export, one module-level variable, and one static import.1 parent b71cd4f commit 06c1c9c
2 files changed
+4
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
33 | | - | |
| 31 | + | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 24 | | |
42 | 25 | | |
43 | 26 | | |
| |||
118 | 101 | | |
119 | 102 | | |
120 | 103 | | |
121 | | - | |
122 | | - | |
| 104 | + | |
| 105 | + | |
123 | 106 | | |
124 | 107 | | |
125 | 108 | | |
| |||
0 commit comments