diff options
author | Sandeep Somavarapu <sasomava@microsoft.com> | 2022-06-10 10:32:46 +0300 |
---|---|---|
committer | Sandeep Somavarapu <sasomava@microsoft.com> | 2022-06-10 10:32:46 +0300 |
commit | 872345d6a5da449a88ce727ad121886a3ae9eca7 (patch) | |
tree | fb3725fa952e528df841aed51f73010385957600 /src/vs/workbench/contrib/extensions/electron-sandbox | |
parent | e1a5b67040fd0fbde0b8ff32b89403172f80d48a (diff) | |
parent | dce493cb6e36346ef2714e82c42ce14fc461b15c (diff) |
Merge branch 'main' into sandy081/settingsProfile
Diffstat (limited to 'src/vs/workbench/contrib/extensions/electron-sandbox')
3 files changed, 6 insertions, 6 deletions
diff --git a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsAutoProfiler.ts b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsAutoProfiler.ts index 53ff6a67325..7a9ef97ade4 100644 --- a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsAutoProfiler.ts +++ b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsAutoProfiler.ts @@ -111,8 +111,8 @@ export class ExtensionsAutoProfiler extends Disposable implements IWorkbenchCont let data: NamedSlice[] = []; for (let i = 0; i < profile.ids.length; i++) { - let id = profile.ids[i]; - let total = profile.deltas[i]; + const id = profile.ids[i]; + const total = profile.deltas[i]; data.push({ id, total, percentage: 0 }); } diff --git a/src/vs/workbench/contrib/extensions/electron-sandbox/reportExtensionIssueAction.ts b/src/vs/workbench/contrib/extensions/electron-sandbox/reportExtensionIssueAction.ts index 9e85ffd28e4..36b988310c1 100644 --- a/src/vs/workbench/contrib/extensions/electron-sandbox/reportExtensionIssueAction.ts +++ b/src/vs/workbench/contrib/extensions/electron-sandbox/reportExtensionIssueAction.ts @@ -63,9 +63,9 @@ export class ReportExtensionIssueAction extends Action { baseUrl = this.productService.reportIssueUrl!; } - let reason = 'Bug'; - let title = 'Extension issue'; - let message = ':warning: We have written the needed data into your clipboard. Please paste! :warning:'; + const reason = 'Bug'; + const title = 'Extension issue'; + const message = ':warning: We have written the needed data into your clipboard. Please paste! :warning:'; this.clipboardService.writeText('```json \n' + JSON.stringify(extension.status, null, '\t') + '\n```'); const os = await this.nativeHostService.getOSProperties(); diff --git a/src/vs/workbench/contrib/extensions/electron-sandbox/runtimeExtensionsEditor.ts b/src/vs/workbench/contrib/extensions/electron-sandbox/runtimeExtensionsEditor.ts index 1361647e24b..36170a31d5f 100644 --- a/src/vs/workbench/contrib/extensions/electron-sandbox/runtimeExtensionsEditor.ts +++ b/src/vs/workbench/contrib/extensions/electron-sandbox/runtimeExtensionsEditor.ts @@ -191,7 +191,7 @@ export class SaveExtensionHostProfileAction extends Action { } private async _asyncRun(): Promise<any> { - let picked = await this._nativeHostService.showSaveDialog({ + const picked = await this._nativeHostService.showSaveDialog({ title: nls.localize('saveprofile.dialogTitle', "Save Extension Host Profile"), buttonLabel: nls.localize('saveprofile.saveButton', "Save"), defaultPath: `CPU-${new Date().toISOString().replace(/[\-:]/g, '')}.cpuprofile`, |