Skip to content

Commit 4728359

Browse files
committed
Properly form the jupyter cache key
1 parent 8ac1640 commit 4728359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/jupyter/jupyter-embed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ function notebookCacheKey(
451451
nbOutputs?: number[],
452452
) {
453453
const optionsKey = nbOptions
454-
? Object.keys(nbOptions).reduce((key, current) => {
454+
? Object.keys(nbOptions).reduce((current, key) => {
455455
if (nbOptions[key] !== undefined) {
456456
return current + `${key}:${String(nbOptions[key])}`;
457457
} else {

0 commit comments

Comments
 (0)