mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-22 23:05:26 +01:00
fix #107210.
This commit is contained in:
@@ -559,6 +559,15 @@ export class NotebookTextModel extends Disposable implements INotebookTextModel
|
||||
}
|
||||
|
||||
private _customMetadataEqual(a: any, b: any) {
|
||||
if (!a && !b) {
|
||||
// both of them are nullish or undefined
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!a || !b) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const aProps = Object.getOwnPropertyNames(a);
|
||||
const bProps = Object.getOwnPropertyNames(b);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user