Change executionState to state

This commit is contained in:
Rob Lourens
2021-05-29 11:38:45 -07:00
parent 6949856b19
commit 6737ea008f
2 changed files with 2 additions and 9 deletions

View File

@@ -356,7 +356,7 @@ export class ExtHostNotebookDocument {
if (originalInternalMetadata.runState !== newInternalMetadata.runState) {
const executionState = newInternalMetadata.runState ?? extHostTypes.NotebookCellExecutionState.Idle;
this._emitter.emitCellExecutionStateChange(deepFreeze({ document: this.apiNotebook, cell: cell.apiCell, executionState }));
this._emitter.emitCellExecutionStateChange(deepFreeze({ document: this.apiNotebook, cell: cell.apiCell, state: executionState }));
}
}