mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 15:25:47 +01:00
Ensure orig_nbformat is not written to ipynb file (#192359)
This commit is contained in:
@@ -24,7 +24,7 @@ type NotebookMetadata = {
|
||||
pygments_lexer?: string;
|
||||
[propName: string]: unknown;
|
||||
};
|
||||
orig_nbformat: number;
|
||||
orig_nbformat?: number;
|
||||
[propName: string]: unknown;
|
||||
};
|
||||
|
||||
@@ -76,9 +76,7 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
data.metadata = {
|
||||
custom: {
|
||||
cells: [],
|
||||
metadata: {
|
||||
orig_nbformat: 4
|
||||
},
|
||||
metadata: {},
|
||||
nbformat: 4,
|
||||
nbformat_minor: 2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user