mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -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}`;
|
||||
|
||||
Reference in New Issue
Block a user