mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Fix package.json lookup
This commit is contained in:
parent
13c842c36a
commit
89369d18e6
|
@ -59,7 +59,7 @@ export default class TelemetryReporter extends Disposable {
|
|||
if (this._packageInfo !== undefined) {
|
||||
return this._packageInfo;
|
||||
}
|
||||
let packagePath = path.join(__dirname, './../package.json');
|
||||
let packagePath = path.join(__dirname, '..', '..', 'package.json');
|
||||
let extensionPackage = require(packagePath);
|
||||
if (extensionPackage) {
|
||||
this._packageInfo = {
|
||||
|
|
Loading…
Reference in a new issue