mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-21 18:59:15 +00:00
demo merge conflict
This commit is contained in:
@@ -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 } {
|
function buildMetadata(b64: string, cell: vscode.NotebookCell, filename: string, filetype: string, startingAttachments: any): { [key: string]: any } {
|
||||||
const outputMetadata = { ...cell.metadata };
|
const outputMetadata = {};
|
||||||
|
|
||||||
if (!outputMetadata.custom) {
|
if (!outputMetadata.custom) {
|
||||||
outputMetadata['custom'] = { 'attachments': { [filename]: { 'image/png': b64 } } };
|
outputMetadata['custom'] = { 'attachments': { [filename]: { 'image/png': b64 } } };
|
||||||
|
|||||||
Reference in New Issue
Block a user