File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/vs/workbench/services/notebook/common Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -77,17 +77,13 @@ export function extractCellOutputDetails(uri: URI): { notebook: URI; openIn: str
77
77
return ;
78
78
}
79
79
const outputId = params . get ( 'outputId' ) ?? undefined ;
80
- const notebookScheme = params . get ( 'notebookScheme' ) ?? undefined ;
81
80
const parsedCell = parse ( uri . with ( { scheme : Schemas . vscodeNotebookCell , query : null } ) ) ;
82
81
const outputIndex = params . get ( 'outputIndex' ) ? parseInt ( params . get ( 'outputIndex' ) || '' , 10 ) : undefined ;
83
82
const notebookUri = parsedCell ? parsedCell . notebook : uri . with ( {
84
- scheme : notebookScheme || Schemas . file ,
83
+ scheme : params . get ( ' notebookScheme' ) || Schemas . file ,
85
84
fragment : null ,
86
85
query : null ,
87
86
} ) ;
88
- if ( notebookUri === undefined ) {
89
- throw new Error ( 'Invalid cell URI' ) ;
90
- }
91
87
92
88
return {
93
89
notebook : notebookUri ,
You can’t perform that action at this time.
0 commit comments