mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 20:31:37 -05:00
Fix dirty tab close popup issue
This commit is contained in:
@@ -1093,9 +1093,12 @@ export class ClaudeDev {
|
|||||||
)
|
)
|
||||||
|
|
||||||
for (const tab of tabs) {
|
for (const tab of tabs) {
|
||||||
|
// trying to close dirty views results in save popup
|
||||||
|
if (!tab.isDirty) {
|
||||||
await vscode.window.tabGroups.close(tab)
|
await vscode.window.tabGroups.close(tab)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
async readFile(relPath?: string): Promise<ToolResponse> {
|
async readFile(relPath?: string): Promise<ToolResponse> {
|
||||||
if (relPath === undefined) {
|
if (relPath === undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user