Skip to content

Commit 5a7f596

Browse files
committed
Disabling multidiff actions on empty workspace
1 parent 19bdd2c commit 5a7f596

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)