Skip to content

Commit 4c154a6

Browse files
committed
Fix this binding for priority detection
1 parent 57b92a0 commit 4c154a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jupyterlab-lsp/src/manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class LanguageServerManager implements ILanguageServerManager {
9090
}
9191
}
9292

93-
return matchingSessionsKeys.sort(this._comparePriorities);
93+
return matchingSessionsKeys.sort(this._comparePriorities.bind(this));
9494
}
9595

9696
get statusCode(): number {

0 commit comments

Comments
 (0)