disable some extension commands in web

This commit is contained in:
Sandeep Somavarapu
2019-07-18 11:19:54 +02:00
parent 28473ed5f7
commit 8ffcb49f4f
12 changed files with 98 additions and 69 deletions

View File

@@ -158,7 +158,7 @@ async function main(server: Server, initData: ISharedProcessInitData, configurat
const config: ITelemetryServiceConfig = {
appender: combinedAppender(appInsightsAppender, new LogAppender(logService)),
commonProperties: resolveCommonProperties(product.commit, pkg.version, configuration.machineId, installSourcePath),
piiPaths: [appRoot, extensionsPath]
piiPaths: extensionsPath ? [appRoot, extensionsPath] : [appRoot]
};
telemetryService = new TelemetryService(config, configurationService);