Skip to content

Commit 5fc4ff7

Browse files
authored
Disabling multidiff actions on empty workspace (#8291)
1 parent c7f73bc commit 5fc4ff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3632,11 +3632,11 @@
36323632
"chat/multiDiff/context": [
36333633
{
36343634
"command": "pr.checkoutFromDescription",
3635-
"when": "chatSessionType == copilot-cloud-agent"
3635+
"when": "chatSessionType == copilot-cloud-agent && workspaceFolderCount > 0"
36363636
},
36373637
{
36383638
"command": "pr.applyChangesFromDescription",
3639-
"when": "chatSessionType == copilot-cloud-agent"
3639+
"when": "chatSessionType == copilot-cloud-agent && workspaceFolderCount > 0"
36403640
}
36413641
]
36423642
},

0 commit comments

Comments
 (0)