Skip to content

Commit edfd557

Browse files
authored
fix: sign-in error caused by typo in telementry. (#2262)
1 parent d543a0d commit edfd557

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

packages/schema/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
"vscode:package": "pnpm bundle && vsce package --no-dependencies",
154154
"clean": "rimraf dist",
155155
"build": "pnpm clean && pnpm lint --max-warnings=0 && tsc && copyfiles -F \"bin/*\" dist && copyfiles ./README-global.md ./LICENSE ./package.json dist && renamer --replace \"README.md\" dist/README-global.md && copyfiles -u 1 \"src/res/*\" dist && node build/post-build.js && pnpm pack dist --pack-destination ../../../.build",
156-
"bundle": "rimraf bundle && pnpm lint --max-warnings=0 && node build/bundle.js --minify",
156+
"bundle": "rimraf bundle && tsc -p tsconfig.vscode.json --noEmit && pnpm lint --max-warnings=0 && node build/bundle.js --minify",
157157
"watch": "tsc --watch",
158158
"lint": "eslint src tests --ext ts",
159159
"test": "jest",

packages/schema/src/vscode/vscode-telemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class VSCodeTelemetry {
6767
this.mixpanel.track('$identify', {
6868
$identified_id: userId,
6969
$anon_id: this.deviceId,
70-
token: TELEMETRY_TRACKING_TOKEN,
70+
token: VSCODE_TELEMETRY_TRACKING_TOKEN,
7171
});
7272
}
7373
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"outDir": "dist"
5+
},
6+
"include": ["src/**/*.ts"]
7+
}

0 commit comments

Comments
 (0)