mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
ops
This commit is contained in:
@@ -528,7 +528,7 @@ export class MainThreadDocuments {
|
||||
private _shouldHandleFileEvent(e: LocalFileChangeEvent): boolean {
|
||||
const after = e.getAfter();
|
||||
const model = this._modelService.getModel(after.resource);
|
||||
return !model && !model.isTooLargeForHavingARichMode();
|
||||
return model && !model.isTooLargeForHavingARichMode();
|
||||
}
|
||||
|
||||
private _onModelAdded(model: EditorCommon.IModel): void {
|
||||
|
||||
Reference in New Issue
Block a user