mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
let => const
This commit is contained in:
@@ -65,7 +65,7 @@ export class ElectronWindow {
|
||||
// React to editor input changes (Mac only)
|
||||
if (platform.platform === platform.Platform.Mac) {
|
||||
this.editorGroupService.onEditorsChanged(() => {
|
||||
let fileInput = asFileEditorInput(this.editorService.getActiveEditorInput(), true);
|
||||
const fileInput = asFileEditorInput(this.editorService.getActiveEditorInput(), true);
|
||||
let representedFilename = '';
|
||||
if (fileInput) {
|
||||
representedFilename = fileInput.getResource().fsPath;
|
||||
|
||||
Reference in New Issue
Block a user