mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix book toc manager tests (#16034)
* fix book toc manager tests * add js-yaml to notebooks package.json
This commit is contained in:
@@ -89,7 +89,7 @@ export function convertTo(version: string, section: JupyterBookSection): Jupyter
|
||||
temp.external = section.external;
|
||||
temp.sections = [];
|
||||
for (let s of section.sections) {
|
||||
const child = this.convertTo(version, s);
|
||||
const child = convertTo(version, s);
|
||||
temp.sections.push(child);
|
||||
}
|
||||
return temp;
|
||||
@@ -120,7 +120,7 @@ export function convertTo(version: string, section: JupyterBookSection): Jupyter
|
||||
temp.url = section.url;
|
||||
temp.sections = [];
|
||||
for (let s of section.sections) {
|
||||
const child = this.convertTo(version, s);
|
||||
const child = convertTo(version, s);
|
||||
temp.sections.push(child);
|
||||
}
|
||||
return temp;
|
||||
|
||||
Reference in New Issue
Block a user