Skip to content

Commit

Permalink
fix: use const instead of var
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Nov 21, 2020
1 parent 2372942 commit 6faa975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class Main {
minimap = new Minimap({textEditor})
this.editorsMinimaps.set(textEditor, minimap)

var editorSubscription = textEditor.onDidDestroy(() => {
const editorSubscription = textEditor.onDidDestroy(() => {
let minimaps = this.editorsMinimaps
if (minimaps) { minimaps.delete(textEditor) }
editorSubscription.dispose()
Expand Down

0 comments on commit 6faa975

Please sign in to comment.