Skip to content

Commit 4893e3e

Browse files
committed
Clean up null check
1 parent 968b777 commit 4893e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jupyterlab-lsp/src/features/highlights.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class HighlightsCM extends CodeMirrorIntegration {
145145
return;
146146
}
147147

148-
if (!root_position) {
148+
if (root_position == null) {
149149
this.console.warn('no root position available');
150150
return;
151151
}

0 commit comments

Comments
 (0)