mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-02 13:45:52 +01:00
Always use app root for resource URIs (avoid usage of require)
This commit is contained in:
@@ -496,7 +496,7 @@ export async function main(argv: string[]): Promise<any> {
|
||||
}
|
||||
|
||||
function getAppRoot() {
|
||||
return dirname(FileAccess.asFileUri('', require).fsPath);
|
||||
return dirname(FileAccess.asFileUri('').fsPath);
|
||||
}
|
||||
|
||||
function eventuallyExit(code: number): void {
|
||||
|
||||
Reference in New Issue
Block a user