Fix dirty tab close popup issue

This commit is contained in:
Saoud Rizwan
2024-09-09 23:14:40 -04:00
parent 7e897c3430
commit ade506d1f8

View File

@@ -1093,9 +1093,12 @@ export class ClaudeDev {
)
for (const tab of tabs) {
// trying to close dirty views results in save popup
if (!tab.isDirty) {
await vscode.window.tabGroups.close(tab)
}
}
}
async readFile(relPath?: string): Promise<ToolResponse> {
if (relPath === undefined) {