mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
Remove extra check for non-nullable param
This commit is contained in:
@@ -94,7 +94,7 @@ export default class LanguageProvider extends Disposable {
|
||||
}
|
||||
|
||||
public handles(resource: vscode.Uri, doc: vscode.TextDocument): boolean {
|
||||
if (doc && this.description.modeIds.indexOf(doc.languageId) >= 0) {
|
||||
if (this.description.modeIds.indexOf(doc.languageId) >= 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user