mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
fix conflict demo
This commit is contained in:
parent
02cb45c3cb
commit
614c7dd5f4
|
@ -124,7 +124,7 @@ function encodeBase64(buffer: Uint8Array, padded = true, urlSafe = false) {
|
|||
}
|
||||
|
||||
function buildMetadata(b64: string, cell: vscode.NotebookCell, filename: string, filetype: string, startingAttachments: any): { [key: string]: any } {
|
||||
const outputMetadata = {};
|
||||
const outputMetadata = { ...cell.metadata };
|
||||
|
||||
if (!outputMetadata.custom) {
|
||||
outputMetadata['custom'] = { 'attachments': { [filename]: { 'image/png': b64 } } };
|
||||
|
|
Loading…
Reference in a new issue