We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bebb181 commit 80a449aCopy full SHA for 80a449a
packages/ide/vscode/scripts/post-build.ts
@@ -6,13 +6,8 @@ dotenv.config({ path: './.env' });
6
7
const telemetryToken = process.env.VSCODE_TELEMETRY_TRACKING_TOKEN;
8
if (!telemetryToken) {
9
- if (process.env.CI) {
10
- console.error('Error: VSCODE_TELEMETRY_TRACKING_TOKEN environment variable is not set');
11
- process.exit(1);
12
- } else {
13
- console.warn('Warning: VSCODE_TELEMETRY_TRACKING_TOKEN environment variable is not set, skipping token injection');
14
- process.exit(0);
15
- }
+ console.warn('Warning: VSCODE_TELEMETRY_TRACKING_TOKEN environment variable is not set, skipping token injection');
+ process.exit(0);
16
}
17
const file = 'dist/extension.js';
18
let content = fs.readFileSync(file, 'utf-8');
0 commit comments