Skip to content

Commit b64c4c1

Browse files
committed
Make linter happy
1 parent 3c39537 commit b64c4c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/vscode/src/providers/editor/editor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export class VisualEditorProvider implements CustomTextEditorProvider {
175175
// as the tab in `window.tabGroups`, so if we try and close `tab` we
176176
// get a "tab not found" error. The one we care about does exist, but we have
177177
// manually find it via URI, which is a stable field to match on.
178-
if (editorMode && editorMode != viewType && !isSwitch) {
178+
if (editorMode && editorMode !== viewType && !isSwitch) {
179179
const allTabs = window.tabGroups.all.flatMap(group => group.tabs);
180180

181181
// find tab to close if swapping editor type

0 commit comments

Comments
 (0)