mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Build script cleanup
For #277526 Quick cleanup pass after converting these scripts
This commit is contained in:
@@ -5,9 +5,8 @@
|
||||
import { execSync } from 'child_process';
|
||||
import { join, resolve } from 'path';
|
||||
import { readFileSync, writeFileSync } from 'fs';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
const rootPath = resolve(fileURLToPath(import.meta.url), '..', '..', '..', '..');
|
||||
const rootPath = resolve(import.meta.dirname, '..', '..', '..');
|
||||
const vscodePath = join(rootPath, 'vscode');
|
||||
const distroPath = join(rootPath, 'vscode-distro');
|
||||
const commit = execSync('git rev-parse HEAD', { cwd: distroPath, encoding: 'utf8' }).trim();
|
||||
|
||||
Reference in New Issue
Block a user