We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b4d8e3 commit 9fca57bCopy full SHA for 9fca57b
1 file changed
extensions/ql-vscode/src/databases.ts
@@ -684,7 +684,7 @@ export class DatabaseManager extends DisposableObject {
684
685
// Delete folder from workspace, if it is still there
686
const folderIndex = (vscode.workspace.workspaceFolders || []).findIndex(folder => item.belongsToSourceArchiveExplorerUri(folder.uri));
687
- if (index >= 0) {
+ if (folderIndex >= 0) {
688
logger.log(`Removing workspace folder at index ${folderIndex}`);
689
vscode.workspace.updateWorkspaceFolders(folderIndex, 1);
690
}
0 commit comments