File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
src/vs/platform/telemetry/common Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -110,15 +110,15 @@ export class TelemetryService implements ITelemetryService {
110
110
111
111
return this . _commonProperties . then ( values => {
112
112
113
- // (first) add common properties
114
- data = mixin ( data , values ) ;
115
-
116
- // (next) add experiment properties
113
+ // add experiment properties
117
114
data = mixin ( data , this . _experimentProperties ) ;
118
115
119
- // (last) remove all PII from data
116
+ // remove all PII from data
120
117
data = cleanData ( data as Record < string , any > , this . _cleanupPatterns ) ;
121
118
119
+ // add common properties
120
+ data = mixin ( data , values ) ;
121
+
122
122
// Log to the appenders of sufficient level
123
123
this . _appenders . forEach ( a => a . log ( eventName , data ) ) ;
124
124
Original file line number Diff line number Diff line change @@ -286,6 +286,7 @@ export function getPiiPathsFromEnvironment(paths: IPathEnvironment): string[] {
286
286
* @returns The cleaned stack
287
287
*/
288
288
function anonymizeFilePaths ( stack : string , cleanupPatterns : RegExp [ ] ) : string {
289
+
289
290
let updatedStack = stack ;
290
291
291
292
const cleanUpIndexes : [ number , number ] [ ] = [ ] ;
You can’t perform that action at this time.
0 commit comments