mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Minor notebook cleanup (#7156)
* Minor notebook cleanup * Undo fix to getBooks
This commit is contained in:
@@ -34,10 +34,10 @@ export class BookTreeViewProvider implements vscode.TreeDataProvider<BookTreeIte
|
|||||||
private _openAsUntitled: boolean;
|
private _openAsUntitled: boolean;
|
||||||
|
|
||||||
constructor(workspaceFolders: vscode.WorkspaceFolder[], extensionContext: vscode.ExtensionContext) {
|
constructor(workspaceFolders: vscode.WorkspaceFolder[], extensionContext: vscode.ExtensionContext) {
|
||||||
this.initialze(workspaceFolders, null, extensionContext);
|
this.initialize(workspaceFolders, null, extensionContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
private initialze(workspaceFolders: vscode.WorkspaceFolder[], bookPath: string, context: vscode.ExtensionContext): void {
|
private initialize(workspaceFolders: vscode.WorkspaceFolder[], bookPath: string, context: vscode.ExtensionContext): void {
|
||||||
let workspacePaths: string[] = [];
|
let workspacePaths: string[] = [];
|
||||||
if (bookPath) {
|
if (bookPath) {
|
||||||
workspacePaths.push(bookPath);
|
workspacePaths.push(bookPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user