mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 17:23:10 -05:00
disable telemetry permently in web (#11918)
This commit is contained in:
@@ -235,7 +235,7 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
|
||||
return `${uri.scheme}://${uri.authority}`;
|
||||
}
|
||||
|
||||
get disableTelemetry(): boolean { return false; }
|
||||
get disableTelemetry(): boolean { return true; } // {{SQL CARBON EDIT}} permanently disable telemetry for web instead of perminently enable
|
||||
|
||||
get verbose(): boolean { return this.payload?.get('verbose') === 'true'; }
|
||||
get logExtensionHostCommunication(): boolean { return this.payload?.get('logExtensionHostCommunication') === 'true'; }
|
||||
|
||||
@@ -114,7 +114,7 @@ export async function launch(userDataDir: string, _workspacePath: string, codeSe
|
||||
}
|
||||
server = spawn(
|
||||
serverLocation,
|
||||
['--browser', 'none', '--driver', 'web', '--extensions-dir', extPath, '--disable-telemetry', 'true'], // {{SQL CARBON EDIT}} disable telemetry
|
||||
['--browser', 'none', '--driver', 'web', '--extensions-dir', extPath],
|
||||
{ env }
|
||||
);
|
||||
server.stderr?.on('data', error => console.log(`Server stderr: ${error}`));
|
||||
|
||||
Reference in New Issue
Block a user