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 edfa5e2 commit 45094d9Copy full SHA for 45094d9
packages/notebook-extension/src/index.ts
@@ -124,7 +124,7 @@ const checkpoints: JupyterFrontEndPlugin<void> = {
124
context?.fileChanged.connect(onChange);
125
126
const checkpoints = await context?.listCheckpoints();
127
- if (!checkpoints) {
+ if (!checkpoints || !checkpoints.length) {
128
return;
129
}
130
const checkpoint = checkpoints[checkpoints.length - 1];
0 commit comments