telemetry - avoid sync fs APIs for building CLI telemetry message

This commit is contained in:
Benjamin Pasero
2021-06-07 15:32:26 +02:00
parent 3d377570fa
commit 666ce447cb
3 changed files with 30 additions and 20 deletions

View File

@@ -220,7 +220,7 @@ class CliMain extends Disposable {
// Telemetry
else if (this.argv['telemetry']) {
console.log(buildTelemetryMessage(environmentService.appRoot, environmentService.extensionsPath));
console.log(await buildTelemetryMessage(environmentService.appRoot, environmentService.extensionsPath));
}
}