Skip to content

Commit a8f62a4

Browse files
authored
Fix Razor telemetry paths (#6452)
1 parent 265a6a5 commit a8f62a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/razor/src/razorLanguageServerClient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6+
import * as path from 'path';
67
import * as cp from 'child_process';
78
import { EventEmitter } from 'events';
89
import * as util from '../../common';
@@ -253,7 +254,7 @@ export class RazorLanguageServerClient implements vscode.Disposable {
253254
args.push('--sessionId', getSessionId());
254255
args.push(
255256
'--telemetryExtensionPath',
256-
util.getExtensionPath() + '\\.razortelemetry\\Microsoft.VisualStudio.DevKit.Razor.dll'
257+
path.join(util.getExtensionPath(), '.razortelemetry', 'Microsoft.VisualStudio.DevKit.Razor.dll')
257258
);
258259
}
259260
}

0 commit comments

Comments
 (0)