let => const

This commit is contained in:
Benjamin Pasero
2016-08-16 07:28:35 +02:00
parent d5181e90a7
commit f014cbcfb7
6 changed files with 80 additions and 81 deletions

View File

@@ -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;