We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1015a51 commit 4569690Copy full SHA for 4569690
src/index.ts
@@ -68,7 +68,9 @@ function triggerNotification(
68
) {
69
const { startTime, endTime, index: cellIndex } = executionMetadata;
70
const codeCellModel = cell.model as ICodeCellModel;
71
- const cellDuration = moment.utc(moment(endTime).diff(startTime)).format("HH:mm:ss");
+ const cellDuration = moment
72
+ .utc(moment(endTime).diff(startTime))
73
+ .format('HH:mm:ss');
74
const diffSeconds = moment.duration(cellDuration).asSeconds();
75
console.log(cellDuration, diffSeconds);
76
if (diffSeconds >= minimumCellExecutionTime) {
0 commit comments