debt - extensions path is always defined

This commit is contained in:
Benjamin Pasero
2020-11-25 09:59:49 +01:00
parent ffec932655
commit 96b2c670d7
12 changed files with 36 additions and 47 deletions
@@ -187,7 +187,7 @@ async function main(server: Server, initData: ISharedProcessInitData, configurat
appender: telemetryAppender,
commonProperties: resolveCommonProperties(product.commit, product.version, configuration.machineId, product.msftInternalDomains, installSourcePath),
sendErrorTelemetry: true,
piiPaths: extensionsPath ? [appRoot, extensionsPath] : [appRoot]
piiPaths: [appRoot, extensionsPath]
};
telemetryService = new TelemetryService(config, configurationService);