Skip to content

Commit 67bc246

Browse files
committed
Merge remote-tracking branch 'origin/dev' into multiple-files-fixes
2 parents b0f12a6 + 80a449a commit 67bc246

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

packages/ide/vscode/scripts/post-build.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,8 @@ dotenv.config({ path: './.env' });
66

77
const telemetryToken = process.env.VSCODE_TELEMETRY_TRACKING_TOKEN;
88
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-
}
9+
console.warn('Warning: VSCODE_TELEMETRY_TRACKING_TOKEN environment variable is not set, skipping token injection');
10+
process.exit(0);
1611
}
1712
const file = 'dist/extension.js';
1813
let content = fs.readFileSync(file, 'utf-8');

0 commit comments

Comments
 (0)