mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
actually remove fileName from the notebook document implementation, https://github.com/microsoft/vscode/issues/121329
This commit is contained in:
@@ -153,10 +153,9 @@ export class ExtHostNotebookDocument {
|
||||
get notebookDocument(): vscode.NotebookDocument {
|
||||
if (!this._notebook) {
|
||||
const that = this;
|
||||
this._notebook = Object.freeze({
|
||||
this._notebook = {
|
||||
get uri() { return that.uri; },
|
||||
get version() { return that._versionId; },
|
||||
get fileName() { return that.uri.fsPath; },
|
||||
get viewType() { return that._viewType; },
|
||||
get isDirty() { return that._isDirty; },
|
||||
get isUntitled() { return that.uri.scheme === Schemas.untitled; },
|
||||
@@ -174,7 +173,7 @@ export class ExtHostNotebookDocument {
|
||||
save() {
|
||||
return that._save();
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
return this._notebook;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user