mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 01:37:20 +00:00
Remove path from github-authentication
This commit is contained in:
parent
1d54cdf54a
commit
c67ac5d083
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
import * as path from 'path';
|
|
||||||
import * as vscode from 'vscode';
|
import * as vscode from 'vscode';
|
||||||
import TelemetryReporter from 'vscode-extension-telemetry';
|
import TelemetryReporter from 'vscode-extension-telemetry';
|
||||||
import { getExperimentationService, IExperimentationService, IExperimentationTelemetry, TargetPopulation } from 'vscode-tas-client';
|
import { getExperimentationService, IExperimentationService, IExperimentationTelemetry, TargetPopulation } from 'vscode-tas-client';
|
||||||
|
@ -57,7 +56,7 @@ interface ProductConfiguration {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getProductConfig(appRoot: string): Promise<ProductConfiguration> {
|
async function getProductConfig(appRoot: string): Promise<ProductConfiguration> {
|
||||||
const raw = await vscode.workspace.fs.readFile(vscode.Uri.file(path.join(appRoot, 'product.json')));
|
const raw = await vscode.workspace.fs.readFile((vscode.Uri.joinPath(vscode.Uri.file(appRoot), 'product.json')));
|
||||||
return JSON.parse(raw.toString());
|
return JSON.parse(raw.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue