提交 f54c36f7 编写于 作者: B Benjamin Pasero

fix tests

上级 aaa778b5
......@@ -180,7 +180,7 @@ class BulkEditModel implements IDisposable {
if (!model || !model.textEditorModel) {
throw new Error(`Cannot load file ${key}`);
}
if (model.isReadonly) {
if (model.isReadonly()) {
throw new Error(localize('editorIsReadonly', "Cannot edit a read-only editor."));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册