Skip to content

Commit

Permalink
Clean up null check
Browse files Browse the repository at this point in the history
  • Loading branch information
bpowers39 committed Feb 23, 2021
1 parent 968b777 commit 4893e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jupyterlab-lsp/src/features/highlights.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class HighlightsCM extends CodeMirrorIntegration {
return;
}

if (!root_position) {
if (root_position == null) {
this.console.warn('no root position available');
return;
}
Expand Down

0 comments on commit 4893e3e

Please sign in to comment.