mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
notebooks lgtm cleanup part 1 (#8280)
This commit is contained in:
@@ -302,7 +302,7 @@ export class BookTreeViewProvider implements vscode.TreeDataProvider<BookTreeIte
|
||||
findNextUntitledFileName(filePath: string): string {
|
||||
const baseName = path.basename(filePath);
|
||||
let idx = 0;
|
||||
let title = `${baseName}`;
|
||||
let title;
|
||||
do {
|
||||
const suffix = idx === 0 ? '' : `-${idx}`;
|
||||
title = `${baseName}${suffix}`;
|
||||
|
||||
@@ -313,8 +313,8 @@ export class JupyterServerInstallation {
|
||||
/**
|
||||
* Installs Python and associated dependencies to the specified directory.
|
||||
* @param forceInstall Indicates whether an existing installation should be overwritten, if it exists.
|
||||
* @param installationPath Optional parameter that specifies where to install python.
|
||||
* The previous path (or the default) is used if a new path is not specified.
|
||||
* @param installSettings Optional parameter that specifies where to install python, and whether the install targets an existing python install.
|
||||
* The previous python path (or the default) is used if a new path is not specified.
|
||||
*/
|
||||
public async startInstallProcess(forceInstall: boolean, installSettings?: { installPath: string, existingPython: boolean }): Promise<void> {
|
||||
let isPythonRunning: boolean;
|
||||
|
||||
Reference in New Issue
Block a user