mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
always serialize execution count (#4864)
This commit is contained in:
@@ -420,7 +420,7 @@ export class CellModel implements ICellModel {
|
|||||||
if (this._cellType === CellTypes.Code) {
|
if (this._cellType === CellTypes.Code) {
|
||||||
cellJson.metadata.language = this._language,
|
cellJson.metadata.language = this._language,
|
||||||
cellJson.outputs = this._outputs;
|
cellJson.outputs = this._outputs;
|
||||||
cellJson.execution_count = this.executionCount;
|
cellJson.execution_count = this.executionCount ? this.executionCount : 0;
|
||||||
}
|
}
|
||||||
return cellJson as nb.ICellContents;
|
return cellJson as nb.ICellContents;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user