We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e133f00 commit bce3304Copy full SHA for bce3304
extensions/ipynb/src/notebookAttachmentCleaner.ts
@@ -232,7 +232,7 @@ export class AttachmentCleaner implements vscode.CodeActionProvider {
232
if (cell.index > -1 && !objectEquals(markdownAttachmentsInUse, cell.metadata.attachments)) {
233
const updateMetadata: { [key: string]: any } = deepClone(cell.metadata);
234
if (Object.keys(markdownAttachmentsInUse).length === 0) {
235
- updateMetadata.attachments = null;
+ updateMetadata.attachments = undefined;
236
} else {
237
updateMetadata.attachments = markdownAttachmentsInUse;
238
}
0 commit comments